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

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #3 from Steven Schveighoffer <[email protected]> ---
This should be INVALID. Defining a function named opIn is not a deprecation.
This produces no deprecation warning:

struct S
{
  void opIn(int x) {}
}

void main()
{
   S s;
   s.opIn(5);
}

The deprecation is using that to define operator overloading. So it is pointing
at the correct location. The message may be awkward, but the location is
correct.

--

Reply via email to