types2, go/types: declaring methods on instantiated types through an alias type should not be permitted #47968
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
Reminder issue. The following code
adds a method
m
toT[int]
via the aliasA
. But the typeT[int]
never learns about this method. The correct fix depends on the outcome of #46477.See also #46477 (comment).
The text was updated successfully, but these errors were encountered: