cmd/compile: type inference fails for unused type in generic type alias #70948
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.
Go version
go version devel go1.24-669d87a Thu Dec 19 19:19:59 2024 -0800 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
Compilation failure.
What did you expect to see?
Successful compilation, even tho
type A[V any] = struct{}
doesn't make much sense.Notes:
The text was updated successfully, but these errors were encountered: