[Issue 22388] Wrong overload selected for @safe delegate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 21 21:39:29 UTC 2021


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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13209 "Merge stable into master" was merged into
master:

- 59288c7a3cdd661113c3b1d63b22fce66e1b50ae 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/13209

--


More information about the Digitalmars-d-bugs mailing list