[Issue 22717] object.TypeInfo_Struct.equals swaps lhs and rhs parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 31 15:28:49 UTC 2022


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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@kinke created dlang/dmd pull request #13593 "Fix Issue 22717 -
TypeInfo_Struct.equals swaps lhs and rhs parameters" fixing this issue:

- Fix Issue 22717 - TypeInfo_Struct.equals swaps lhs and rhs parameters

  Leading to a swapped `rhs.opEquals(lhs)` check *if* the opEquals
  method took its parameter by ref.

https://github.com/dlang/dmd/pull/13593

--


More information about the Digitalmars-d-bugs mailing list