April 15, 2014 [Issue 12581] New: [ICE](statement.c, line 713) with invalid assignment + alias this | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12581 Issue ID: 12581 Summary: [ICE](statement.c, line 713) with invalid assignment + alias this Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: DMD Assignee: nobody@puremagic.com Reporter: k.hara.pg@gmail.com The root cause of the ICE is same with bug 12501 and bug 12574, but the fixing way is a bit different. struct S { int[3] a; alias a this; } struct T { S s; alias s this; } void main() { T x; x[] = (undef = 1); } --- assert statement.c(713) global.gaggedErrors || global.errors -- |
Copyright © 1999-2021 by the D Language Foundation