[Issue 22516] Segfault for function literal in struct initializer with previous errors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 17 09:07:31 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22516
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 #13313 "Fix 22516 - Set
TypeError as return type if inference was skipped..." fixing this issue:
- 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