January 26, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4504



--- Comment #10 from bearophile_hugs@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: -------
January 26, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4504



--- Comment #11 from bearophile_hugs@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: -------
March 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4504


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |WORKSFORME


--- Comment #12 from Walter Bright <bugzilla@digitalmars.com> 2012-03-12 20:40:24 PDT ---
With 2.059, no error occurs for the original case.

The errors in the other cases are legitimate, and are different.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 03, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4504


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|D1 & D2                     |D1
         Resolution|WORKSFORME                  |


--- Comment #13 from Don <clugdbug@yahoo.com.au> 2012-05-03 04:49:17 PDT ---
The ICE still happens on D1.074 and D1 git head.

Reopening and marking as D1 only.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
1 2
Next ›   Last »