[Issue 13310] Old style multiple alias declaration not documented
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 16 19:41:10 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13310
--- Comment #1 from briancschott at gmail.com ---
Looking at the D1 documentation, you can find this:
AliasDeclaration:
alias Decl
Decl:
BasicType Declarators ;
Declarators:
DeclaratorInitializer , DeclaratorIdentifierList
DeclaratorInitializer:
Declarator
DeclaratorIdentifierList:
DeclaratorIdentifier
DeclaratorIdentifier , DeclaratorIdentifierList
DeclaratorIdentifier:
Identifier
It appears that DMD is accepting code that is valid in D1 but not valid in D2
without issuing any sort of deprecation warning or compiler error.
--
More information about the Digitalmars-d-bugs
mailing list