[Issue 22516] Segfault for function literal in struct initializer with previous errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 18 09:20:58 UTC 2021


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

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 #13313 "Fix 22516 - Set TypeError as return type if
inference was skipped..." was merged into stable:

- 6acd696dd0a42accbf7571692a35426b2f7ef36c by MoonlightSentinel:
  Fix 22516 - Set TypeError as return type if inference was skipped...

  ... due to previous errors in the parent.

  This ensures that further code doesn't have to check for unset
  return type while still keeping the other information (paramter types,
  ...) available.

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

--


More information about the Digitalmars-d-bugs mailing list