[Issue 14895] New: ICE on array operation when its result is concatenated
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Aug 9 20:41:55 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14895
Issue ID: 14895
Summary: ICE on array operation when its result is concatenated
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ice
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
Test code:
void main()
{
int[] a;
int[] b = (a[] + 1) ~ [1,2];
}
output:
assert e2ir.c(1959) !((tb1->ty == Tarray || tb1->ty == Tsarray || tb2->ty ==
Tarray || tb2->ty == Tsarray) && tb2->ty != Tvoid && op != OPeq && op !=
OPandand && op != OPoror)
--
More information about the Digitalmars-d-bugs
mailing list