Bug 18337 – https://dlang.org/spec/operatoroverloading.html missing opIn/opIn_r

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-01-30T19:00:45Z
Last change time
2018-02-06T15:49:03Z
Assigned to
No Owner
Creator
Jonathan Marler

Comments

Comment #0 by johnnymarler — 2018-01-30T19:00:45Z
https://dlang.org/spec/operatoroverloading.html is missing any documentation on `opIn` and `opIn_r`.
Comment #1 by simen.kjaras — 2018-01-30T19:59:41Z
opIn and opIn_r are deprecated, and should be implemented as opBinary(string op : "in") and opBinaryRight(string op : "in").
Comment #2 by johnnymarler — 2018-01-31T02:50:05Z
I'm going to reopen this and suggest that the page document that `opIn` and `opIn_r` are deprecated and should be replaced with `opBinary(string op = "in")` and `opBinaryRight(string op = "in")`.
Comment #3 by simen.kjaras — 2018-01-31T06:59:57Z
*** This issue has been marked as a duplicate of issue 12617 ***
Comment #4 by johnnymarler — 2018-01-31T07:03:01Z
issue 12671 seems to be about adding to the deprecate.html page. This one's about adding deprecated ops to the operatoroverloading page. Going to reopen as a seperate issue.
Comment #5 by github-bugzilla — 2018-02-06T15:49:03Z
Commit pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/67e6545428a87b7a72a99f12ecd05bad880f0389 Add deprecation note for opIn and opIn_r to operatoroverloading.html Fix issue 18337