-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
hash float doesn't work in JS or VM backend #16542
Labels
Comments
Merged
worked in 1.2.6, fails in 1.4.0 |
Not really, it should return int, never return float Nim 1.2.6 import hashes
echo hash(0.1234)
|
indeed, it's only a "partial regression"; depending on use case, it could've been good enough or not; but ya, this should be fixed properly |
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Jan 2, 2021
It doesn't work in VM too. |
timotheecour
changed the title
hash float doesn't work in JS backend
hash float doesn't work in JS or VM backend
Jan 2, 2021
Merged
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
devel
Output:
I will revisit #16403 and make it work for JS backend.
The text was updated successfully, but these errors were encountered: