http://d.puremagic.com/issues/show_bug.cgi?id=8151
Summary: [ICE] Two internal errors with recursive map Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2012-05-25 15:31:41 PDT --- import std.algorithm: map; void main() { int foo(int) { return [1].map!foo().front; } } DMD 2.060head gives: map(Range) if (isInputRange!(Unqual!(Range)))([1]).front Internal error: e2ir.c 705 -------------------------- A probably related problem: import std.algorithm: map, reduce; void main() { int foo(int) { return true ? 1 : [1].map!foo().reduce!q{a}(); } } DMD 2.060head gives: Internal error: e2ir.c 3519 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------