[Issue 8635] Allow postfix expressions for new

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 8 16:27:41 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8635



--- Comment #16 from bearophile_hugs at eml.cc 2013-02-08 16:27:38 PST ---
An even better syntax is to allow new to act as a static method, that allows a
fully UFCS syntax:

class Foo {
    void bar() {}
}
Foo().new.bar();
Foo f = Foo.new;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list