go/types, types2: improve error message for incomplete alias hashing
Currently, there is a known issue when type checking programs like:
type X A
type A = N
type N G[A]
type G[_ any] int
This change just improves the error message from "panic: nil" to
"panic: cannot type hash incomplete alias (see go.dev/...)". This
should prevent duplicate reports like #79655 and #80150.
For #78296
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |