-
Notifications
You must be signed in to change notification settings - Fork 37
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
invalid type: floating point 4294967295
, expected u32
#98
Comments
Make a minimum reproducible example for boa, hopefully they can fix it |
It's happening with other numbers as well: [Canister rrkah-fqaaa-aaaaa-aaaaq-cai] Panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid type: floating point `999500`, expected u32", line: 0, column: 0)', src/src/lib.rs:171:177
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] Panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid type: floating point `500`, expected u32", line: 0, column: 0)', src/src/lib.rs:171:177
|
This is breaking on |
Should be fixed when this is done: boa-dev/boa#1961 (comment) |
1 task
This is fixed with the new traits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
primitive_types
example getNat32 function is breaking...the parsing seems to have a problem with the u32::MAX value coming from JavaScript.The text was updated successfully, but these errors were encountered: