http://d.puremagic.com/issues/show_bug.cgi?id=10659
Summary: Program segfaults using std.algorithm.map and std.algorithm.filter Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: peterneubau...@gmail.com --- Comment #0 from Peter Neubauer <peterneubau...@gmail.com> 2013-07-17 01:37:07 PDT --- The following source produces a program which segfaults: === File a.d: === import std.algorithm; void main () { auto p = (int) => true; [ 1 ].map!(x => x).filter!p; } === File b.d: === import std.algorithm; Output: $ dmd b.d a.d && ./b Segmentation fault (core dumped) The error depends on compile order: $ dmd a.d b.d && ./a $ # runs & exits fine -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------