[Issue 13303] "Internal error: ..\ztc\cgcs.c 351" with rvalue Variant.get call

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 18 23:08:29 PDT 2014


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Smaller test case:

struct Buf { }

struct Variant {
    ~this();
    Buf get();
}

void test() {
    Variant value();
    value.get();
}

--


More information about the Digitalmars-d-bugs mailing list