spec: Embedded fields don't need to be defined types #41687
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The spec says:
The emphasis is mine. It's a bit contrived, but with the introduction of aliases, I don't think the embedded field has to be a defined type anymore:
In this example,
B
is not a defined type, butC
still gets aFoo
method promoted from it. The wording should probably be "type name" instead of "defined type"?The text was updated successfully, but these errors were encountered: