[Issue 18818] New: VariantN has unittests that are compiled into user modules

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 2 05:29:30 UTC 2018


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 at puremagic.com
          Reporter: dhasenan at 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.)

--


More information about the Digitalmars-d-bugs mailing list