Thread overview
[Issue 23553] opCmp spec is incomplete
Dec 13, 2022
Dennis
Dec 13, 2022
Grim Maple
Dec 13, 2022
mhh
Dec 16, 2022
Dlang Bot
Dec 16, 2022
Dlang Bot
December 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23553

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #1 from Dennis <dkorpel@live.nl> ---
It shows a table with rewrites such as:

a < b   |   a.opCmp(b) < 0

Doesn't that tell you that it should be a negative number when a < b?

--
December 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23553

--- Comment #2 from Grim Maple <grimmaple95@gmail.com> ---
Apparently, it was obscure enough for me to not figure this out. Maybe, a rephrase is needed, or an added table of what the function should return.

--
December 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23553

mhh <maxhaton@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxhaton@gmail.com

--- Comment #3 from mhh <maxhaton@gmail.com> ---
I agree with Grim. Existing lowering docs is fine but an example even more fine

--
December 16, 2022
https://issues.dlang.org/show_bug.cgi?id=23553

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dlang.org pull request #3474 "Fix Issue 23553 - opCmp spec is incomplete" fixing this issue:

- Fix Issue 23553 - opCmp spec is incomplete

https://github.com/dlang/dlang.org/pull/3474

--
December 16, 2022
https://issues.dlang.org/show_bug.cgi?id=23553

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dlang.org pull request #3474 "Fix Issue 23553 - opCmp spec is incomplete" was merged into master:

- 48263a38d0b9491c07361c9b7e6b22625d1ecb14 by RazvanN7:
  Fix Issue 23553 - opCmp spec is incomplete

https://github.com/dlang/dlang.org/pull/3474

--