What happened to the alias this = identifier syntax in 2.062?

deadalnix deadalnix at gmail.com
Fri Feb 22 07:07:28 PST 2013


On Friday, 22 February 2013 at 14:58:02 UTC, Martin wrote:
> On Friday, 22 February 2013 at 14:55:19 UTC, bearophile wrote:
>> Martin:
>>
>>> Was something changed intentionally or is this a bug?
>>
>> It was changed intentionally, but only for alias this. That 
>> syntax is allowed still for other aliases.
>>
>> Bye,
>> bearophile
>
> I see, thanks. What was the reason for not allowing alias this 
> = identifier?

Requiring lookahead when parsing.


More information about the Digitalmars-d mailing list