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


Rainer Schuetze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #3 from Rainer Schuetze <[email protected]> 2013-08-15 23:15:45 
PDT ---
This code now raises an ICE:

struct S { }
static assert(typeid(S).init.length > 0);

Assertion failure: 'thisval && thisval->op == TOKclassreference' on line 4067
in file 'interpret.c'

If you use a class instead:

class C {}
static assert(typeid(C).init.length > 0);

imp.d(2): Error: static assert  (& D16TypeInfo_C3imp1C6__initZ.init.length >
0u) is not evaluatable at compile time

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

Reply via email to