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

Ali Çehreli acehreli at yahoo.com
Fri Feb 22 10:22:52 PST 2013


On 02/22/2013 09:27 AM, Ali Çehreli wrote:
> On 02/22/2013 09:08 AM, Ali Çehreli wrote:
>> On 02/22/2013 06:55 AM, 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.
>>
>> It is a regression at best
>
> Posted:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=9569
>
> Ali

bearophile has added this link to the bug discussion:

   http://forum.dlang.org/thread/evldispcxhyarckmkycg@forum.dlang.org

It is ironic that the 2.061 'alias this' syntax got killed because it 
broke 2.060 programs. However, the 2.061 'alias this' syntax will not be 
brought back even though its demise have broken 2.061 programs!

Oh well... Time to go fix the 'alias this' chapter again.

Ali


More information about the Digitalmars-d mailing list