https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #2 from John Colvin <[email protected]> --- class C() { int foo() { } } C!() c()() { return new C!()(); } static assert(!__traits(compiles, c())); --
d-bugmail--- via Digitalmars-d-bugs Mon, 07 Jan 2019 03:57:32 -0800
https://issues.dlang.org/show_bug.cgi?id=19545
--- Comment #2 from John Colvin <[email protected]> --- class C() { int foo() { } } C!() c()() { return new C!()(); } static assert(!__traits(compiles, c())); --