December 26, 2011 [Issue 7167] New: template function overload brings dmd internal error | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7167 Summary: template function overload brings dmd internal error Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: zan77137@nifty.com --- Comment #0 from SHOO <zan77137@nifty.com> 2011-12-26 08:37:33 PST --- This code raises internal error: -------------- import std.conv; T to(T)(string x) { return std.conv.to!T(x); } void main() { auto i = "1".to!int(); } -------------- $ dmd -run main module main.to Internal error: e2ir.c 683 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 31, 2011 [Issue 7167] template function overload brings dmd internal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to SHOO | http://d.puremagic.com/issues/show_bug.cgi?id=7167 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-12-30 21:30:22 PST --- *** This issue has been marked as a duplicate of issue 7170 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation