With statement extension

Meta via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 28 09:12:33 PDT 2016


On Thursday, 28 April 2016 at 11:39:22 UTC, Seb wrote:
> If it's just about syntax sugar, I definitely would prefer to 
> be able to use alias over ref, e.g.
>
> alias v = el.someProperties.aRatio;

The main issue with this currently is that you can only alias 
symbols, but el.someProperties.aRatio is an expression, not a 
symbol.


More information about the Digitalmars-d mailing list