← Back to index
|
Original Bugzilla link
Bug 11550 – [ICE] Checking if std.conv.to compiles with an array of non-builtins results in an ICE in s2ir.c.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-19T00:58:00Z
Last change time
2014-04-11T00:25:07Z
Keywords
ice
Assigned to
nobody
Creator
opantm2+dbugs
Comments
Comment #0
by opantm2+dbugs — 2013-11-19T00:58:17Z
Sample: import std.conv; struct Foo { } void test(T)() { static if(is(typeof(to!T(string.init)))) { } } void main() { test!(Foo[]); } Output: rdmd test.d Statement::toCBuffer() Internal error: s2ir.c 135
Comment #1
by k.hara.pg — 2014-04-11T00:25:07Z
The ICE is fixed in 2.065, by the fix for issue 11863.