[Issue 18615] Rebindable!A doesn't use class A's opEquals (returns a is b instead)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 5 20:21:27 UTC 2018


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

--- Comment #5 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/65b1f1af77b099ab97c94d802f027fa89cef0165
Fix Issue 18615 - Rebindable!A calls A.opEquals

The issue was that Rebindable!A always compared two rebindable
references by 'a is b', not by A.opEquals. With this fix, two rebindable
references, or a rebindable and a raw reference, always compare with
A.opEquals.

https://github.com/dlang/phobos/commit/9de28234bff85df508890f3b202515b63e590319
Merge pull request #6370 from SimonN/issue18615

Fix Issue 18615 - Rebindable!A calls A.opEquals
merged-on-behalf-of: Jack Stouffer <jack at jackstouffer.com>

--


More information about the Digitalmars-d-bugs mailing list