[Issue 21791] Stack overflow for forward-referenced enum initializer
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 4 15:06:25 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21791
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 #12346 "Fix 21791 - Stack overflow for
forward-referenced enum initializer" was merged into master:
- f45c5b98400be67f16fbf9210c761bbff492bb5d by MoonlightSentinel:
Fix 21791 - Stack overflow for forward-referenced enum initializer
Ensure that semantic for the `EnumMember` chosen as a `.init` was already
done.
The previous check was never hit because `sematicRun` is changed before
analyzing the enum body.
https://github.com/dlang/dmd/pull/12346
--
More information about the Digitalmars-d-bugs
mailing list