http://d.puremagic.com/issues/show_bug.cgi?id=8673
Summary: enum z = [0][(()=>$-1)()]; crashes the compiler Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: CTFE Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2012-09-16 18:37:37 PDT --- DMD 2.060 enum z = [0][(()=>$-1)()]; dmd: interpret.c:153: void CtfeStack::saveGlobalConstant(VarDeclaration*, Expression*): Assertion `v->init && (v->isConst() || v->isImmutable()) && !v->isCTFE()' failed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------