[Issue 11557] Can't compare `const`/`immutable` classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 20 07:31:15 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11557



--- Comment #3 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-11-20 19:31:13 MSK ---
(In reply to comment #2)
> Why this issue is marked as "regression"? As far as I know, the code you shown
> had never worked correctly.

Associative arrays use `TypeInfo.compare` and `std.typecons.Tuple` has its
`opCmp` with by element comparison for a long time. As `Tuple`-s stopped
working as AA keys (it worked at least a year ago) I decided it was a compiler
change. If it's not please remove the REGRESSION status.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list