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

Fix Map hash bug #281

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Fix Map hash bug #281

merged 1 commit into from
Feb 23, 2024

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Feb 22, 2024

  • map_hash_key must generate the same key for JS_TAG_INT and JS_TAG_FLOAT64 values with the same numerical value
  • add test cases in tests/test_builtin.js

- `map_hash_key` must generate the same key for JS_INT and JS_FLOAT64
   with the same value
- add test cases in tests/test_builtin.js
@bnoordhuis bnoordhuis merged commit 47e07b2 into quickjs-ng:master Feb 23, 2024
35 checks passed
@chqrlie chqrlie deleted the fix-map-hash branch February 25, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants