www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20399] New: opIn deprecation warning should point to where

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

          Issue ID: 20399
           Summary: opIn deprecation warning should point to where opIn is
                    defined, not where it is used.
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: yshuiv7 gmail.com

The message:

    Deprecation: opIn is deprecated.  Use opBinary(string op)(...) if (op ==
"in") instead.

is not really actionable at the place where "in" is used.

--
Nov 16 2019