[Issue 22388] Wrong overload selected for @safe delegate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 14 23:58:20 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13170 "Fix 22388 - Don't
discard function safety when matching lambdas" fixing this issue:

- 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