Comment #1 by dlang-bugzilla — 2017-07-02T13:02:23Z
std.xml.Tag.opEquals is defined as:
override bool opEquals(scope Object o)
{
const tag = toType!(const Tag)(o);
return
(name != tag.name) ? false : (
(attr != tag.attr) ? false : ( // <---
(type != tag.type) ? false : (
true )));
}
For opCmp, it compares the AA's pointer, and refers to issue 10381.
When reporting a bug, please always provide a self-contained, reproducible test case which exhibits the current and desired behaviour, unless you plan to work on the bug yourself. Incomplete bug reports will be closed; please reopen if you can post an example as described above.