[Issue 6894] ICE(cod1.c) with immutable and static

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 19 14:02:43 PDT 2012


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



--- Comment #2 from bearophile_hugs at eml.cc 2012-10-19 14:02:41 PDT ---
With dmd 2.061alpha it gives:

Internal error: backend\cod1.c 1718

- - - - - - - - -

Maybe related:


bool foo(int[3] data) {
    return true;
}
struct Bar(T...) if (foo(T[0])) {}
void main() {
    immutable int[3] array = [1, 2, 3];
    Bar!array b;
}

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


More information about the Digitalmars-d-bugs mailing list