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



--- Comment #11 from bearophile_h...@eml.cc 2012-01-26 04:56:11 PST ---
Same bug?


import std.algorithm: map;
void foo() {
    map!(x => x)([1]);
}
struct Bar {
    int opApply(int delegate(ref int) dg) {
        int result;
        foo();
        result = dg(result);
        if (result)
            return result;
        return result;
    }
}
void main() {}


DMD 2.058head:
test.d(6): Error: function test.Bar.opApply cannot get frame pointer to map

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

Reply via email to