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: [email protected]
Reporter: [email protected]
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
}
--