https://issues.dlang.org/show_bug.cgi?id=16974

--- Comment #1 from Denis Shelomovskii <[email protected]> ---
The reason is incorrect hash calculation:
---
int[int] a = [1 : 2];
assert(typeid(a).getHash(&a) == typeid(a).getHash(&a)); // fails
---

Opened druntime pull 1715 [1].

This incorrect hash calculation became possible because of `hashOf` signature,
see Issue 16973.

[1] https://github.com/dlang/druntime/pull/1715

--

Reply via email to