[Issue 10090] Segfault "cannot get frame pointer to <function>"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 15 13:35:27 PDT 2013


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



--- Comment #1 from Derek Rhodes <gdkslpmq at spam4.me> 2013-05-15 13:35:26 PDT ---
This code

import std.functional;
import std.algorithm;

void main() {
    bool f(int) { return true; }

    filter!(not!f)([1]);
}

causes the error

/usr/include/d/std/algorithm.d(1288): Error: constructor
std.algorithm.FilterResult!(not, int[]).FilterResult.this cannot get frame
pointer to not
/usr/include/d/std/algorithm.d(1310): Error: function
std.algorithm.FilterResult!(not, int[]).FilterResult.popFront cannot get frame
pointer to not

But does not segfault. To my knowledge it should work.

-- 
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