http://d.puremagic.com/issues/show_bug.cgi?id=6672
Summary: [CTFE] ICE on compile time std.algorithm.sort Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2011-09-14 23:35:53 PDT --- import std.algorithm; string foo(){ auto kw=["alias", "align", "asm", "assert", "auto", "body", "bool", "break", "byte", "case", "cast", "catch", "cdouble", "cent", "cfloat", "char", "clas\ s", "const", "continue", "creal", "dchar", "debug", "default", "delegate", "delete", "deprecated"]; sort(kw); return "success!"; } pragma(msg, foo()); void main() {} This fails with dmd: interpret.c:1845: virtual Expression* ArrayLiteralExp::interpret(InterState*, CtfeGoal): Assertion `((IndexExp*)e)->e1 != this' failed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------