[Issue 14162] Erratic inference of @safe for lambdas

2016-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14162 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/366378a5b606ee2093eb6625101e88573a7b2960 fix Issue 14162 - Erratic inference of @safe for lambdas

[Issue 14162] Erratic inference of @safe for lambdas

2016-06-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14162 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/366378a5b606ee2093eb6625101e88573a7b2960 fix Issue 14162 - Erratic inference of @safe for lambdas

[Issue 14162] Erratic inference of @safe for lambdas

2016-06-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14162 --- Comment #2 from Walter Bright --- Inference of safety for lambdas should always occur if not explicitly set, because the source is always available. --

[Issue 14162] Erratic inference of @safe for lambdas

2016-06-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14162 Walter Bright changed: What|Removed |Added Keywords||pull --- Comment #3 from Walter Bright ---

[Issue 14162] Erratic inference of @safe for lambdas

2016-06-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14162 Walter Bright changed: What|Removed |Added Keywords||safe --

[Issue 14162] Erratic inference of @safe for lambdas

2015-02-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14162 --- Comment #1 from Kenji Hara --- I also noticed this difference recently. But I think the safe violation error in the first case is incorrect. (In reply to Walter Bright from comment #0) > Consider the code: > - > @trusted auto trusted(ali