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
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
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.
--
https://issues.dlang.org/show_bug.cgi?id=14162
Walter Bright changed:
What|Removed |Added
Keywords||pull
--- Comment #3 from Walter Bright ---
https://issues.dlang.org/show_bug.cgi?id=14162
Walter Bright changed:
What|Removed |Added
Keywords||safe
--
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