[Issue 8179] New: [ICE] with failed opCall
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 1 13:21:04 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8179
Summary: [ICE] with failed opCall
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2012-06-01 13:22:58 PDT ---
struct Foo {
static void opCall(int[2][1]) {}
}
void main() {
Foo(cast(int[2][1])[1, 2]);
}
DMD 2.060alpha gives:
test.d(5): Error: e2ir: cannot cast [1,2] of type int[] to type int[2u][1u]
Internal error: e2ir.c 155
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list