November 19, 2013 [Issue 11550] New: [ICE] Checking if std.conv.to compiles with an array of non-builtins results in an ICE in s2ir.c. | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=11550 Summary: [ICE] Checking if std.conv.to compiles with an array of non-builtins results in an ICE in s2ir.c. Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: opantm2+dbugs@gmail.com --- Comment #0 from Kapps <opantm2+dbugs@gmail.com> 2013-11-19 00:58:17 PST --- 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 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation