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

[BUG] jsoo's Int64.of_string fails while ocaml's does not #1665

Closed
bzy-debug opened this issue Sep 4, 2024 · 1 comment · Fixed by #1666
Closed

[BUG] jsoo's Int64.of_string fails while ocaml's does not #1665

bzy-debug opened this issue Sep 4, 2024 · 1 comment · Fixed by #1666
Labels

Comments

@bzy-debug
Copy link

Describe the bug

With the same input, jsoo's Int64.of_string fails while ocaml's succeeds.

code example:

let () =
  Printf.printf "%Ld" (Int64.of_string "0u17965325103354776697")

How to reproduce

check out https://github.com/bzy-debug/jsoo-int64-bug

Expected behavior

jsoo prints the same value as ocaml

version

ocaml 5.2.0
js_of_ocaml 5.8.2
@hhugo
Copy link
Member

hhugo commented Sep 4, 2024

Thanks, fix in #1666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants