digitalmars.D.bugs - [Issue 18818] New: VariantN has unittests that are compiled into
- d-bugmail puremagic.com (19/19) May 01 2018 https://issues.dlang.org/show_bug.cgi?id=18818
https://issues.dlang.org/show_bug.cgi?id=18818 Issue ID: 18818 Summary: VariantN has unittests that are compiled into user modules Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: dhasenan gmail.com The offending tests are defined at variant.d lines 708, 741, and 1132. Phobos unittests should not run in a user executable. These tests should probably be guarded behind version(StdDdoc). (They were formerly erroneously gated behind version(StdUnittest), but that was removed.) --
May 01 2018