proposal: allow 'with(Foo):' in addition to 'with(Foo){..}'

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 10 16:16:56 PDT 2014


On Saturday, 9 August 2014 at 20:04:13 UTC, Timothee Cour via 
Digitalmars-d wrote:
> See email: 'with(Foo):' not allowed, why? in '
> digitalmars-d-learn at puremagic.com' forum
> There's already an implementation proposed.

If this is going to be accepted I will most likely resort to 
DScanner rule that statically prohibits it, don't like such 
features. Even "attribute:" syntax can easily result in code 
obfuscation and should be used with caution - and this one is 
worse.


More information about the Digitalmars-d mailing list