[Issue 13179] AA key type TagIndex now requires equality rather than comparison
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 23 23:33:25 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #17 from Jacob Carlborg <doob at me.com> ---
(In reply to Kenji Hara from comment #6)
> So you can just remove opCmp completely. For the struct
>
> struct TagIndex
> {
> uint tag, index;
> }
>
> In 2.066 AA will use default member-wise equality and hasing.
My point was that it was a regression _again_. This time DMD changes back and
forwards between different versions. Add a function to workaround a regression,
then remove it in the next release because of regression again. Walter keeps
talking about we should not make regressions and then someone goes and does
this.
--
More information about the Digitalmars-d-bugs
mailing list