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

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Steven Schveighoffer <[email protected]> ---
In addition to this, we should probably not generate ModuleInfo when it's not
needed.

The reason this came about is because a module that is basically import-only
was not included in druntime. But you could not compile code that used the
included struct.

The rationale of avoiding including it in druntime build was to avoid adding
unnecessary ModuleInfo bloat. It would be nice if you could include it and the
bloat wasn't added if the compiler detected it didn't need it.

--

Reply via email to