[Issue 16491] Forward referencing and static/shared static module constructors break initialisation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 23 18:15:26 PST 2016


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

uplink.coder at googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uplink.coder at googlemail.com

--- Comment #6 from uplink.coder at googlemail.com ---
In this case the cycle is non-harmful.
Since no run-time initialized data is used.

We can and should improve the cycle-check.
Preferably in DMD itself, when possible.
I am having a look.

--


More information about the Digitalmars-d-bugs mailing list