[Issue 20180] New: Deprecated unittests should not be deprecated functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 29 10:01:19 UTC 2019


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

          Issue ID: 20180
           Summary: Deprecated unittests should not be deprecated
                    functions
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: default_357-line at yahoo.de

When deprecated unittests are accessed with __traits(getUnitTests), the
resulting functions are deprecated. Since it is impossible to get rid of
deprecated, this fatally breaks unittesting frameworks like unit_threaded with
deprecated unittests, or else forces the entire framework to be considered
deprecated.

--


More information about the Digitalmars-d-bugs mailing list