[Issue 9014] New: [ICE](glue.c line 1225) with array.front and missing array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 12 20:25:07 PST 2012


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

           Summary: [ICE](glue.c line 1225) with array.front and missing
                    array
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2012-11-12 20:25:06 PST ---
foo() is reduced from array.front:


@property ref int foo(int[] a) {
    return a[0];
}
void main() {
    int[] bar;
    bar.foo = missing.foo;
}


DMD 2.061alpha prints:

Assertion failure: '0' on line 1225 in file 'glue.c'

-- 
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