Closed
Description
Describe the bug
When calling function List.sort from the standard library, a JS error is triggered.
It displays as: TypeError: r is not a function
(the name of the function varies)
A call as simple as the following is enough.
List.sort (fun x y -> compare y x) [4;2;5;2;1]
The bug disappears when I call my own naive implementation of List.sort (Quicksort).
Versions
Version of packages used to reproduce the bug
ocamlc 4.09.1
js_of_ocaml 3.5.2
opam 2.0.6