Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 04, 2014 [Issue 13045] TypeInfo.getHash should return consistent result with object equality by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13045 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> --- https://github.com/D-Programming-Language/dmd/pull/3710 -- |
July 04, 2014 [Issue 13045] TypeInfo.getHash should return consistent result with object equality by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13045 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsteoh@quickfur.ath.cx --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> --- *** Issue 11025 has been marked as a duplicate of this issue. *** -- |
July 04, 2014 [Issue 13045] TypeInfo.getHash should return consistent result with object equality by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13045 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michal.minich@gmail.com --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> --- *** Issue 10525 has been marked as a duplicate of this issue. *** -- |
July 06, 2014 [Issue 13045] TypeInfo.getHash should return consistent result with object equality by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13045 --- Comment #4 from github-bugzilla@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a5c8c3afc84cad8ef62c119c4101acb8e6de3140 fix Issue 13045 - TypeInfo.getHash should return consistent result with object equality by default If struct member field has toHash method, or has non-bitwise equality, generate __xtoHash implicitly to guarantee `a != b || typeid(S).getHash(&a) == typeid(S).getHash(&b)`. -- |
Copyright © 1999-2021 by the D Language Foundation