[Issue 13356] [ICE] (dmd 2.066: statement.c:754) with recursive Algebraic

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 30 03:10:04 PDT 2014


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

John Colvin <john.loughran.colvin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin at gmail.
                   |                            |com

--- Comment #1 from John Colvin <john.loughran.colvin at gmail.com> ---
Another test case:

void writeConfig()
{
    JSONValue v;
    v["name"] = .z();
}

struct JSONValue
{
    import std.variant;
    alias Payload = Algebraic!(typeof(null));

    Payload payload;

    alias payload this;
}

--


More information about the Digitalmars-d-bugs mailing list