[Issue 16583] Static module ctor semantic proposition

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Oct 31 13:38:08 PDT 2016


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |code at dawg.eu
         Resolution|---                         |WONTFIX

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
That's doesn't make sense b/c using Type could depend on the sth. being
initialized first.
What we could try is to teach the compiler to recognize a few more standalone
constructors (that simply initialize plain data fields).

--


More information about the Digitalmars-d-bugs mailing list