[Issue 13497] [REG2.065] [ICE e2ir 1911] Array op compiler error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 21 08:57:56 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13497

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> ---
Sorry my fix was incomplete. I found some unfixed cases.

void main()
{
    int[1] a;
  //auto b1 = (a[] * a[])[];      // error, expected
    auto b2 = (a[] * a[])[0..1];  // Internal error: e2ir.c 1911

    int[] c;
  //c = (a[] * a[])[];           // error, expected
    c = (a[] * a[])[0..1];       // Internal error: e2ir.c 1911
}

--


More information about the Digitalmars-d-bugs mailing list