Closed lucaswerkmeister closed 10 years ago
Gavin pointed out that the spec doesn’t really distinguish between “declaration” and “definition” (“definition” is rarely used, and never in a BNF rule name), so I’ll just use Definition
.
Forgot to mention this issue in 43b1e596d732262daf1655ead9f3864559934962 :-/ but it’s done!
Open question: how do we call these?
ClassAlias
,ClassAliasDeclaration
, orClassAliasDefinition
The advantage of the longer names is that they avoid potential confusion with import aliases (see also #46). However, I’m not sure if they’re declarations or definitions. Both the spec and the RedHat AST refer to them as declarations, but they feel more like definitions to me (the
TypeSpecifier
/ClassSpecifier
is the definition).