https://issues.dlang.org/show_bug.cgi?id=22959
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <[email protected]> --- dlang/dlang.org pull request #3266 "Fix 22959 - Extend documentation for C/D main functions." was merged into master: - d2c21e2cf77da571ea21697a78e0dc3b3c68cf8d by MoonlightSentinel: Fix 22959 - Extend documentation for C/D main functions. For D mains, document that parameter / return types may be qualified and also can be replaced by enums with appropriate base types. For C mains, document that it may be used without -betterC and how it interacts with runtime initialization. Replaced the list of allowed signatures with a proper grammar and also added a workaround for exotic main signatures. https://github.com/dlang/dlang.org/pull/3266 --
