www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20916] New: hard to find where a deprecation comes from


          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 puremagic.com
          Reporter: john.loughran.colvin gmail.com

E.g. Messages like this:

Deprecation: alias byKeyValue this is deprecated - Iterate over .byKeyValue

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.

Jun 09 2020