-
-
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
[Regression] JS: HashSet hash at compile time and run time not equal #15624
Labels
Comments
@nitely Workaround:
|
Related: |
bung87
added a commit
to bung87/Nim
that referenced
this issue
Nov 12, 2020
c-blake
added a commit
to c-blake/Nim
that referenced
this issue
Nov 12, 2020
resolve the problem mentioned there (`hash() == 0`) as well as to close nim-lang#15624
bung87
added a commit
to bung87/Nim
that referenced
this issue
Nov 13, 2020
PMunch
pushed a commit
to PMunch/Nim
that referenced
this issue
Jan 6, 2021
* Alternate PR to nim-lang#15915 to resolve the problem mentioned there (`hash() == 0`) as well as to close nim-lang#15624 * Address nim-lang#15937 (comment) { though this was only a move from 2 copies to 3 copies. ;-) }
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
* Alternate PR to nim-lang#15915 to resolve the problem mentioned there (`hash() == 0`) as well as to close nim-lang#15624 * Address nim-lang#15937 (comment) { though this was only a move from 2 copies to 3 copies. ;-) }
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
* test for issue nim-lang#15624 and PR nim-lang#15915 for patch nim-lang#13823 * Update thashes.nim no need mention PR nim-lang#15915, fixed in nim-lang#15937 * rebase to devel(issue maybe fixed), ignore ouputs * Apply suggestions from code review Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
irdassis
pushed a commit
to irdassis/Nim
that referenced
this issue
Mar 16, 2021
* Alternate PR to nim-lang#15915 to resolve the problem mentioned there (`hash() == 0`) as well as to close nim-lang#15624 * Address nim-lang#15937 (comment) { though this was only a move from 2 copies to 3 copies. ;-) }
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
* Alternate PR to nim-lang#15915 to resolve the problem mentioned there (`hash() == 0`) as well as to close nim-lang#15624 * Address nim-lang#15937 (comment) { though this was only a move from 2 copies to 3 copies. ;-) }
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
* test for issue nim-lang#15624 and PR nim-lang#15915 for patch nim-lang#13823 * Update thashes.nim no need mention PR nim-lang#15915, fixed in nim-lang#15937 * rebase to devel(issue maybe fixed), ignore ouputs * Apply suggestions from code review Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works in C and C++ backends, but fails in JS.
Example
Current Output
Expected Output
Additional Information
const a = hash('a'); echo a
outputs0
, it's probably related, or maybe another bugThe text was updated successfully, but these errors were encountered: