go/types: types.CheckExpr returns error when 'FuncType' ast.Expr has TypeParams #65898
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go1.22
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/ZPv6Er1H6K3
What did you see happen?
error 'undefined: A' is returned
What did you expect to see?
In Go version 1.21, there were no errors
The text was updated successfully, but these errors were encountered: