cmd/compile: "internal compiler error: is not shape-identical" crash #66663
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.22.1 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Experimenting with limits of the generic type system. Error triggered by addition of
Blocks()
toRange
interface.What did you see happen?
Internal compile error running
go test
What did you expect to see?
Expected code to compile or compiler to emit error saying what is illegal about the code.
The text was updated successfully, but these errors were encountered: