Alias syntax removal
kenji hara
k.hara.pg at gmail.com
Mon Feb 11 02:55:13 PST 2013
2013/2/11 Stewart Gordon <smjg_1998 at yahoo.com>
> On 10/02/2013 13:13, bearophile wrote:
>
>> Now I have a good amount of code broken by:
>>
>> alias x = 5;
>> alias this = foo;
>>
>
> Was this ever documented? How many people ever knew this syntax existed?
> Not me...
*
*
*AliasDeclaration*: alias *BasicType*<http://dlang.org/declaration#BasicType>
*Declarator* <http://dlang.org/declaration#Declarator> alias *
AliasInitializerList* <http://dlang.org/declaration#AliasInitializerList>*
AliasDeclaration*: alias *BasicType*<http://dlang.org/declaration#BasicType>
*Declarator* <http://dlang.org/declaration#Declarator> alias *
AliasInitializerList* <http://dlang.org/declaration#AliasInitializerList>
http://dlang.org/declaration
AliasDeclaration:
alias BasicType Declarator
alias AliasInitializerList
AliasInitializerList:
AliasInitializer
AliasInitializer , AliasInitializerList
AliasInitializer:
Identifier = Type
Kenji Hara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130211/dee6b31a/attachment-0001.html>
More information about the Digitalmars-d
mailing list