[Issue 14851] New: [REG2.068.0-b2] Cannot assign array operation result to static array variable

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 30 23:29:02 PDT 2015


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

          Issue ID: 14851
           Summary: [REG2.068.0-b2] Cannot assign array operation result
                    to static array variable
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: k.hara.pg at gmail.com

Separate regression issue part from:
https://issues.dlang.org/show_bug.cgi?id=14850

void main()
{
    int[8] a, b, c;

    c = a[] | b[]; // NG from 2.068.0-b2
    c = a[] ^ b[]; // NG from 2.068.0-b2

    c[] = a[] | b[]; // OK
    c[] = a[] ^ b[]; // OK
}

--


More information about the Digitalmars-d-bugs mailing list