[Issue 14556] [REG2.067] can't instantiate struct that has constructor and static array of enum

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 8 15:13:09 PDT 2015


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

--- Comment #2 from ag0aep6g at gmail.com ---
Same problem with static array of void:

----
struct OnlyResult
{
    this(int) {}
    void[1] data;
}

void main()
{
    auto o = OnlyResult(0);
}
----

--


More information about the Digitalmars-d-bugs mailing list