[Issue 7583] [CTFE] ICE with tuple, alias this, and ~=

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 27 12:22:34 PST 2012


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
            Summary|[CTFE] Pushing to Token     |[CTFE] ICE with tuple,
                   |array results in            |alias this, and ~=
                   |interpreter assert          |


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-02-27 12:22:32 PST ---
Reduced test case. Seems to be very complicated.

----------------
template Tup7583(E...) { alias E Tup7583; }

struct S7583
{
    Tup7583!(float, char) field;
    alias field this;    
    this(int x) {    }
}


int bug7583() {
    S7583[] arr;
    arr ~= S7583(0);
    return 1;
}

static assert (bug7583());

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


More information about the Digitalmars-d-bugs mailing list