Bug 14851 – [REG2.068.0-b2] Cannot assign array operation result to static array variable
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-07-31T06:29:00Z
Last change time
2015-08-05T01:30:11Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0 by k.hara.pg — 2015-07-31T06:29:02Z
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
}