Skip to content

Conversation

@cce
Copy link

@cce cce commented Oct 24, 2025

in Go 1.22 the types package introduced a new Alias type, initially hidden behind a GODEBUG field named gotypesalias so as not to break existing programs (like this linter). In Go 1.23 this behavior was enabled by default, breaking this package's tests for type alias handling in testdata/src/typealias. This PR makes those tests pass again.

Separately, the go x/tools package has an issue with Go 1.25 (golang/go#74462) and this upgrades it as well. Unfortunately newer x/tools packages require Go >= 1.24, so AFAICT if you want to use it with Go 1.25 you can't also support Go 1.23. So this updates go.mod to specify a minimum version of 1.24.

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.

1 participant