[Issue 20916] New: hard to find where a deprecation comes from

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 9 20:44:45 UTC 2020


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

          Issue ID: 20916
           Summary: hard to find where a deprecation comes from
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: john.loughran.colvin at gmail.com

E.g. Messages like this:

/home/john/dlang/dmd-2.091.1/linux/bin64/../../src/phobos/std/range/primitives.d(175,38):
Deprecation: alias byKeyValue this is deprecated - Iterate over .byKeyValue
instead.

with no further information

How am I supposed to know where I am doing the wrong thing?

Sure, I can use -de, but that has a fatal flaw: compilation stops after the
first deprecation. So if I can't fix that one for some reason, I can never get
to the rest.

--


More information about the Digitalmars-d-bugs mailing list