[Issue 6159] [CTFE] ICE(constfold.c) on 'is' with structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 15 03:33:07 PDT 2011


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


kennytm at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kennytm at gmail.com


--- Comment #1 from kennytm at gmail.com 2011-06-15 03:28:24 PDT ---
Simiarly, array literals cannot be 'is'-ed either.

----------------------------------
static assert({
    return [1] is [1];
}());
----------------------------------
Assertion failed: (0), function Identity, file constfold.c, line 871.
Abort trap
----------------------------------

-- 
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