https://issues.dlang.org/show_bug.cgi?id=18767
Issue ID: 18767 Summary: __xtoHash memberwise hashing shouldn't just sum the member hashes Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: n8sh.second...@hotmail.com Currently: ``` const(char)* code = "size_t h = 0;" ~ "foreach (i, T; typeof(p.tupleof))" ~ " h += typeid(T).getHash(cast(const void*)&p.tupleof[i]);" ~ "return h;"; ``` --