DIP23 draft: Fixing properties redux
Timon Gehr
timon.gehr at gmx.ch
Tue Feb 5 14:35:00 PST 2013
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)
More information about the Digitalmars-d
mailing list