http://d.puremagic.com/issues/show_bug.cgi?id=6426
Summary: Internal error with function-nested alias Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2011-08-02 05:47:40 PDT --- DMD 2.054, XP32: import std.algorithm; void main() { alias reduce!((a, b){ return min(a, b); }) rngMin2; auto arr2 = map!(rngMin2)([[1, 2], [1, 2]]); } Internal error: toir.c 190 The code above can be written simpler like below: import std.algorithm; void main() { alias reduce!(min) rngMin; auto arr1 = map!(rngMin)([[1, 2], [1, 2]]); // ok } But that's beside the point. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------