[Issue 4504] ICE(toir.c) nested function passed by alias to nested member function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 26 04:54:38 PST 2012


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



--- Comment #10 from bearophile_hugs at eml.cc 2012-01-26 04:54:36 PST ---
Same bug?


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

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


More information about the Digitalmars-d-bugs mailing list