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


Andrei Alexandrescu <and...@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |and...@metalanguage.com


--- Comment #6 from Andrei Alexandrescu <and...@metalanguage.com> 2010-08-17 
19:58:25 PDT ---
I agree that the initial code shouldn't work. This code should:

import std.algorithm: map;
void main() {
    auto r1 = map!q{a+1}([1, 2, 3]);
    auto r2 = map!q{a+2}([1, 2, 3]);
    auto a = array(chain(r1, r2));
}

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

Reply via email to