go/types, types2: duplicate type instances are not recorded in Info.Instances #51494
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
In the following source, we only record one instance in
types.Info.Instances
for T[int]: the other is not recorded due to a cache hit:This is inconsistent with how functions are treated, and not what is documented.
CC @griesemer @mdempsky @timothy-king
The text was updated successfully, but these errors were encountered: