[Issue 20399] New: opIn deprecation warning should point to where opIn is defined, not where it is used.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 16 18:39:29 UTC 2019


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 at puremagic.com
          Reporter: yshuiv7 at 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.

--


More information about the Digitalmars-d-bugs mailing list