https://issues.dlang.org/show_bug.cgi?id=16590

--- Comment #6 from Satoshi <[email protected]> ---
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"

--

Reply via email to