http://d.puremagic.com/issues/show_bug.cgi?id=7965



--- Comment #4 from Denis Shelomovskij <verylonglogin....@gmail.com> 2012-07-02 
12:15:37 MSD ---
I think this bug may be fixed when `std.algorithm` will work.
Example mentioned in this issue description (now fails):
---
import std.array;
import std.algorithm;

void main() {
    string s = "x";
    auto arr = map!(a => (s ~= "y", s ~ a ~ a))("a b".splitter(" ")).array();
    assert(arr == ["xyaa", "xyybb"]);
}
---

A bit reduced case:
---
import std.algorithm;

void main() {
    string s = "x";
    auto f = map!(a => s)("a b".splitter(" ")).front;
}
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to