DIP23 draft: Fixing properties redux

address_is at invalid.invalid address_is at invalid.invalid
Tue Feb 5 14:54:05 PST 2013


Timon Gehr <timon.gehr at gmx.ch> wrote:
> On 02/05/2013 09:21 PM, Andrei Alexandrescu wrote:
>>  ...
>>  Also consider the simpler:
>> 
>> ref int id(ref int x) { return x; }
>> ref int id1(ref int x) { return id(x); }
>> ref int id2(ref int x) { return id1(x); }
>> ref int oops(int x) { return id2(x); }
>> 
>> DIP24 addresses that and other similar cases at their core.
>> ...
> 
> Given a noticeable tendency of your latest design proposals, I guess it
> does so by disallowing the 'ref' keyword in the lexer stage. :o)

What is the noticeable tendency of my latest design proposals?

Andrei


More information about the Digitalmars-d mailing list