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

           Summary: [ICE] with failed opCall
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-06-01 13:22:58 PDT ---
struct Foo {
    static void opCall(int[2][1]) {}
}
void main() {
    Foo(cast(int[2][1])[1, 2]);
}


DMD 2.060alpha gives:

test.d(5): Error: e2ir: cannot cast [1,2] of type int[] to type int[2u][1u]
Internal error: e2ir.c 155

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

Reply via email to