[Issue 12581] New: [ICE](statement.c, line 713) with invalid assignment + alias this
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 15 01:35:38 PDT 2014
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 at puremagic.com
Reporter: k.hara.pg at 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
--
More information about the Digitalmars-d-bugs
mailing list