[Issue 20368] dmd 2.089.0 Error: expression `main` is `void` and has no value
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 24 11:35:40 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=20368
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/druntime pull request #3786 "Fix 20368 -
Remove name conflict for `main` mixin" fixing this issue:
- Fix 20368 - Remove name conflict for `main` mixin
Use a unique name with override mangle s.t. it doesn't conflict with the
user-defined main.
Co-authored-by: JinShil <slavo5150 at yahoo.com>
Co-authored-by: Ernesto Castellotti <erny.castell at gmail.com>
(see PR's 2861 and 2953)
https://github.com/dlang/druntime/pull/3786
--
More information about the Digitalmars-d-bugs
mailing list