go/types, types2: stack overflow in hasVarSize for invalid generic type #52915
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Similar to #48819, the following invalid generic type declaration causes an infinite recursion in hasVarSize, when computing unsafe.Sizeof.
https://go.dev/play/p/T5qCKxz69bk
CC @griesemer
The text was updated successfully, but these errors were encountered: