Skip to content

Commit 5738f8a

Browse files
vouillonhhugo
authored andcommitted
Revert "Runtime: fix annotation of caml_compare"
This reverts commit 3ceafdf: `caml_compare` can raise `Invalid_argument`.
1 parent dcec0ac commit 5738f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/js/compare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function caml_compare_val(a, b, total) {
251251
b = b[i];
252252
}
253253
}
254-
//Provides: caml_compare mutable (const, const)
254+
//Provides: caml_compare (const, const)
255255
//Requires: caml_compare_val
256256
function caml_compare(a, b) {
257257
return caml_compare_val(a, b, true);

0 commit comments

Comments
 (0)