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

Jacob Carlborg doob at me.com
Sun Sep 9 09:53:24 PDT 2012


On 2012-09-09 17:16, Nick Treleaven wrote:

> But I agree with you it would be nice if dmd supported 'new A().b()'.

This would be good for DWT as well, since this is legal in Java.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list