go/types, types2: internal/types/errors panics when types.debug=true #61938
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go/types.debug
enables additional checks during development.However, I noticed that
internal/types/errors.TestErrorCodeExamples/CannotInferTypeArgs
actually hits one such assertion:The text was updated successfully, but these errors were encountered: