We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
== and hash are currently inconsistent for Tuple types:
==
hash
Tuple
Tuple{Array} == (Tuple{Array{T}} where T)
hash(Tuple{Array}) != hash(Tuple{Array{T}} where T)
Hence Tuple Types also don't work as keys for Dictionaries in the sense of 1. (which is how I stumbled upon this).
This question was asked first on discourse https://discourse.julialang.org/t/same-types-have-different-hash/30725 and considered to be a bug by @tpapp
Tested for following julia versions: 1.0.3, 1.1.1, 1.2.0, 1.3-rc4
The text was updated successfully, but these errors were encountered:
Dup of #26105.
Sorry, something went wrong.
No branches or pull requests
==
andhash
are currently inconsistent forTuple
types:Tuple{Array} == (Tuple{Array{T}} where T)
hash(Tuple{Array}) != hash(Tuple{Array{T}} where T)
Hence Tuple Types also don't work as keys for Dictionaries in the sense of 1. (which is how I stumbled upon this).
This question was asked first on discourse https://discourse.julialang.org/t/same-types-have-different-hash/30725 and considered to be a bug by @tpapp
Tested for following julia versions: 1.0.3, 1.1.1, 1.2.0, 1.3-rc4
The text was updated successfully, but these errors were encountered: