[Issue 11992] New: GIT HEAD Internal error: dmd-master\e2ir.c 2078

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 25 04:23:11 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11992

           Summary: GIT HEAD Internal error: dmd-master\e2ir.c 2078
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: temtaime at gmail.com


--- Comment #0 from Temtaime <temtaime at gmail.com> 2014-01-25 04:23:07 PST ---
void main() {
    immutable ushort[3] d = [ 1 ];
    ushort a;
    ushort[] arr;
    arr ~= [ a ] + d[];
}

Gives
Internal error: dmd-master\e2ir.c 2078

void main() {
    immutable ushort[3] d = [ 1 ];
    ushort a;
    ushort[] arr;
    arr ~= [ a ] + d[];
}

Gives
Error: mismatched array lengths, 3 and 1

void main() {
    immutable int[1] d = [ 1 ];
    int a;
    int[] arr;
    arr ~= [ a ] + d[];
}

Gives internal error too

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


More information about the Digitalmars-d-bugs mailing list