[Issue 1984] Assertion failure: 'e1->type' on line 1198 in file 'constfold.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 4 05:11:12 PDT 2009


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





------- Comment #2 from clugdbug at yahoo.com.au  2009-05-04 07:11 -------
Reduced test case shows it's a problem with CTFE and AA literals.

immutable bool [int] map = [ 4:true, 5:true ];
int foo () {
    foreach (x; map.keys) {}
    return 3;
}

static int x = foo();


-- 



More information about the Digitalmars-d-bugs mailing list