[Issue 21646] Speculative recursive reference to struct with semantic error prints "error: unknown"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 19 09:26:12 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21646
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@FeepingCreature created dlang/dmd pull request #12210 "Fix issue 21646:
speculative recursive reference to struct with semantic error prints "error:
unknown"" fixing this issue:
- When preprocessing function arguments, only replace args with ErrorExps if we
managed to report an error.
Otherwise, if errors are gagged, we'll have ErrorExps with no corresponding
error message.
Fixes issue 21646.
https://github.com/dlang/dmd/pull/12210
--
More information about the Digitalmars-d-bugs
mailing list