[Issue 22388] Wrong overload selected for @safe delegate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 15 02:23:46 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22388

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13170 "Fix 22388 - Don't discard function safety when
matching lambdas" was merged into stable:

- e5a221a5f92fbb121b422639f99af7c6ed2acad5 by MoonlightSentinel:
  Fix 22388 - Don't discard function safety when matching lambdas

  The code intended to copy the `TypeFunction` and change the return
  type but also dropped the safety level.

https://github.com/dlang/dmd/pull/13170

--


More information about the Digitalmars-d-bugs mailing list