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

--- Comment #0 from 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",
s", "const", "continue", "creal", "dchar", "debug", "default", "delegate",
"delete", "deprecated"];
    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:
------- You are receiving this mail because: -------

Reply via email to