new A().b() currently requires extra brackets/parentheses

Ben Davis entheh at cantab.net
Sun Sep 9 06:40:20 PDT 2012


On 09/09/2012 14:28, Timon Gehr wrote:
> I think so. Probably it is just a bug. (the spec does not indicate that
> it is illegal iirc.) Maybe you can even fix it yourself, the parser
> should be quite hackable.

That's good to hear - but since I'm only using D for a project outside 
of work, and have very little time for it as it is, I don't think I can 
offer to fix it. I'll probably just use the brackets for now. :)


More information about the Digitalmars-d mailing list