since when was this valid syntax?

Timon Gehr timon.gehr at gmx.ch
Mon Sep 10 06:58:06 PDT 2012


On 09/10/2012 07:07 AM, Ellery Newcomer wrote:
> On 09/08/2012 09:01 AM, Timon Gehr wrote:
>> On 09/08/2012 04:11 PM, Ellery Newcomer wrote:
>>> alias enum int e;
>>
>> It is valid according to the grammar
>
> I don't believe you. Show me the derivation.
>

The grammar as shown on dlang.org indeed seems not to allow this, but
it is out of date as it also wouldn't allow

alias extern(C) void function() fun;




More information about the Digitalmars-d-learn mailing list