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

Martin Nowak <[email protected]> changed:

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

--- Comment #3 from Martin Nowak <[email protected]> ---
You probably learned that for C++, avoid static constructors because the
initialization order quickly becomes a mess.
The problem here is that both mod2 and mod3 depend on a constructor, but also
have a cyclic dependency. We could somehow (using linker tricks) try to push
the ctors/dtors into mod1.
I'm not sure I understand your idea Steven.

--

Reply via email to