gccgo: internal compiler error for (invalid) program using interface aliases #25302
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
For reference:
cmd/compile reports:
go/types reports (incorrectly - see issue #25301 ):
The following code:
is silently accepted by gccgo, but the embedded interface T cannot be "expanded out". We don't specify this in the spec (yet), but it's one of the limitations we have for type aliases, at least according to the design doc.
The text was updated successfully, but these errors were encountered: