https://issues.dlang.org/show_bug.cgi?id=22367

--- Comment #14 from Richard Cattermole <alphaglosi...@gmail.com> ---
(In reply to Walter Bright from comment #13)
> The change to fix this bug report, then, is for betterC modules to generate
> a ModuleInfo if it has a `static this` constructor. And to add these
> instructions to the documentation.

This should not be automatic.

-betterC is a collection of switches all rolled in together. One of these is
turning off of ModuleInfo generation. This is how it works in both LDC and GDC.

It needs to be opt-in via switches. Otherwise, behavior that wasn't expected
may occur.

--

Reply via email to