July 31, 2015 [Issue 14851] New: [REG2.068.0-b2] Cannot assign array operation result to static array variable | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: k.hara.pg@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 } -- |
Copyright © 1999-2021 by the D Language Foundation