ceylon / ceylon.ast

Apache License 2.0
18 stars 3 forks source link

Type aliases #56

Closed lucaswerkmeister closed 10 years ago

lucaswerkmeister commented 10 years ago

Open question: how do we call these?

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).

lucaswerkmeister commented 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.

lucaswerkmeister commented 10 years ago

Forgot to mention this issue in 43b1e596d732262daf1655ead9f3864559934962 :-/ but it’s done!