You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
succeeds under BuckleScript 1.8.0 (Using OCaml4.02.3+BS )
but throws a Division_by_zero exception (as expected) using the OCaml bytecode backend.
On a related note:
print_int (let h = ((mod) 0 0) in 0)
exhibits the same difference in behaviour.
Note: there have been similar recent issues with optimizations of division in the OCaml native code backend: https://caml.inria.fr/mantis/view.php?id=7201
As a casual user I don't know how much BuckleScript shares with OCaml's middle/backend, and hence whether these could be inherited bugs.
The text was updated successfully, but these errors were encountered:
The program
succeeds under BuckleScript 1.8.0 (Using OCaml4.02.3+BS )
but throws a
Division_by_zero
exception (as expected) using the OCaml bytecode backend.On a related note:
exhibits the same difference in behaviour.
Note: there have been similar recent issues with optimizations of division in the OCaml native code backend: https://caml.inria.fr/mantis/view.php?id=7201
As a casual user I don't know how much BuckleScript shares with OCaml's middle/backend, and hence whether these could be inherited bugs.
The text was updated successfully, but these errors were encountered: