8000 Remove brittle x/tools typeutil linknames by dajiaohuang · Pull Request #1752 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Remove brittle x/tools typeutil linknames - #1752

Closed
dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/1751-remove-typeutil-linkname
Closed

dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/1751-remove-typeutil-linkname

Conversation

@dajiaohuang
@dajiaohuang dajiaohuang commented Oct 1, 2026 •
Copy link
Copy Markdown

Fixes #1751. Inline the helper implementations so the package no longer links against unexported x/tools symbols removed in v0.49.0. Validation: focused package tests passed with repository dependencies and with x/tools v0.49.0 through a temporary modfile.

@dajiaohuang
Copy link
Copy Markdown
Author

After tracing the changed helper definitions and all repository call sites at the submitted head, I found no production caller of ClassifyCall or UsedIdent; they are used only by their package tests (and a source comment refers to UsedIdent). I cannot establish a supported production input-to-error/result path or necessity for this change. Closing as necessity not established, not as no defect. This does not assess hypothetical future or external consumers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure with x/tools >= v0.49.0: //go:linkname references to typeutil.usedIdent and typeutil.interfaceMethod no longer resolve

1 participant

0