www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20180] New: Deprecated unittests should not be deprecated

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 puremagic.com
          Reporter: default_357-line 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.

--
Aug 29 2019