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

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 10 01:12:06 PDT 2014


On 8/9/2014 1:04 PM, Timothee Cour via Digitalmars-d wrote:
> See email: 'with(Foo):' not allowed, why? in 'digitalmars-d-learn at puremagic.com
> <mailto:digitalmars-d-learn at puremagic.com>' forum
> There's already an implementation proposed.


No other statement construct works like that, there doesn't seem to be much 
point to adding such a special case.


More information about the Digitalmars-d mailing list