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

Martin martinbbjerregaard at gmail.com
Fri Feb 22 07:31:41 PST 2013


On Friday, 22 February 2013 at 15:07:29 UTC, deadalnix wrote:
> 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.

Alright, thanks!


More information about the Digitalmars-d mailing list