go/types, cmd/compile/internal/types2: uninstantiated method in assignment check #46275
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Consider the following:
This program should type-check cleanly, but does not. The type parameter is unsubstituted in the assignability check:
cannot use n2 (variable of type *NS) as I value in variable declaration: wrong type for method Elem (have func() T, want func() string)
.CC @griesemer
The text was updated successfully, but these errors were encountered: