[Issue 17156] Local function declaration not inferred to be static

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17156 --- Comment #3 from Walter Bright --- (In reply to Eyal from comment #2) > I see, but this would not be a problem if function was automatically > convertible to delegate (std.functional : toDelegate). > > Is there any reason that you cannot hand ove

[Issue 17156] Local function declaration not inferred to be static

2017-05-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17156 --- Comment #2 from Eyal --- I see, but this would not be a problem if function was automatically convertible to delegate (std.functional : toDelegate). Is there any reason that you cannot hand over functions when delegates are expected? I'd expect

[Issue 17156] Local function declaration not inferred to be static

2017-05-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17156 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|