x/tools: tests fails when run from a module (or with a go.work file) that uses go1.23+ #70082
Labels
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Various x/tools tests fail when run from a module that has go1.23 in its go directive, or (more likely) when using a go.work file that says go1.23, because the tests themselves assume go1.22 semantics.
In particular, tests of the internal/aliases package that assume a default GODEBUG value for gotypesalias are broken.
I think we should relax these assertions, since they are not valid in all testing scenarios.
CC @timothy-king @adonovan @pjweinb
The text was updated successfully, but these errors were encountered: