[Issue 16291] phobosinit never gets called

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Oct 1 12:38:52 PDT 2016


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu
            Summary|phobosinit fails to         |phobosinit never gets
                   |register encodings on       |called
                   |individual tests            |

--- Comment #28 from Martin Nowak <code at dawg.eu> ---
The phobosinit module is never referenced and subsequently never gets called.
If you do import std.internal.phobosinit in your own program, the ctor crashes
because it can't find all the unreferenced EncodingScheme classes.

--


More information about the Digitalmars-d-bugs mailing list