[Issue 16291] phobosinit fails to register encodings on individual tests

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 19 10:54:34 PDT 2016


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

--- Comment #11 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
p.s. we probably can enumerate all std.encoding module symbols with CTFE
reflection instead, but i don't think that it makes huge difference here.
paying small fee at program startup looks better for me than paying this fee
each time we compiling the code that imports std.encoding. while CTFE time is
small in this case, i prefer it this way.

but if you think that we should use compile-time reflection instead, feel free
to say that, and i'll rework the patch. ;-)

--


More information about the Digitalmars-d-bugs mailing list