http://d.puremagic.com/issues/show_bug.cgi?id=9634


Don <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
            Summary|[CTFE] appending a slice of |[CTFE] wrong code
                   |an array of structs to      |concatenating arrays of
                   |itself                      |structs


--- Comment #12 from Don <[email protected]> 2013-06-17 23:48:12 PDT ---
Reduced test case shows it doesn't even require ~=.
---------
struct Bug9634 {
    int raw;
}

bool bug9634()
{
    Bug9634[] jr = [Bug9634(42)];
    Bug9634[] ir = jr ~ jr;
    assert(&ir[0] != &ir[1]);
    return true;
}

static assert(bug9634());

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to