cmd/compile/internal/types2: invalid recursive type not detected and panics #48096
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
tip only
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go build .
What did you expect to see?
A compiler error saying that this recursion is not valid, as per the type parameters proposal:
A generic type can refer to itself in cases where a type can ordinarily refer to itself, but when it does so the type arguments must be the type parameters, listed in the same order.
What did you see instead?
@griesemer
The text was updated successfully, but these errors were encountered: