Skip to content
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

hashes:hash returns different values on Windows/Linux #10771

genotrance opened this issue Mar 2, 2019 · 2 comments


None yet
2 participants
Copy link

commented Mar 2, 2019

Detected in nightlies build for runnableExamples:

    doAssert hash("abracadabra") == -5600162842546114722
    doAssert hash("Abracadabra") == 2068684413884279454

Value is correct on my Linux x64 machine like on Travis but on Windows, it returns 1766020087. Not sure what value is returned on Linux x32 but that fails on Travis.

Commit that broke this:

cc: @narimiran


This comment has been minimized.

Copy link

commented Mar 3, 2019

Thanks for bringing it to my attention, will change it.

Btw, how come this passes both Travis and Appveyor here and fails in nightlies?

@narimiran narimiran self-assigned this Mar 3, 2019

@narimiran narimiran closed this in 792dfac Mar 3, 2019


This comment has been minimized.

Copy link
Contributor Author

commented Mar 3, 2019

I don't think the CI runs koch docs like nightlies does. Only nim doc tests snippets and runnable examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.