[Issue 12485] New: [REG2.065] DMD crashes when recursive template expansion
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 27 20:55:25 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12485
Summary: [REG2.065] DMD crashes when recursive template
expansion
Product: D
Version: D2
Platform: x86_64
OS/Version: Windows
Status: NEW
Keywords: ice
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: kekeniro2 at yahoo.co.jp
--- Comment #0 from kekeniro2 at yahoo.co.jp 2014-03-27 20:55:20 PDT ---
void dorecursive()
{
recursive([0]);
}
void recursive(R)(R r)
{
import std.algorithm;
recursive( r.filter!(e=>true) );
}
DMD2.064.2 puts an error and terminates normally.
DMD2.065 crashes without error.
ENVIRONMENT: Windows 7 64-bit
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list