[Issue 16590] Wrong di generation for ref methods
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Oct 25 06:37:17 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16590
--- Comment #6 from Satoshi <satoshi at rikarin.org> ---
class Foo {
immutable(Foo) Dummy = new immutable(Foo);
private immutable pure nothrow @nogc @safe this() {
}
}
this() has stripped body and compiler thrown an error
"cannot be constructed at compile time, because the constructor has no
available source code"
--
More information about the Digitalmars-d-bugs
mailing list