Skip to content

Commit 1c5b0bf

Browse files
committed
Fix caml_obj after review
1 parent e06248a commit 1c5b0bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/runtime/caml_obj.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ let rec equal = (a: Obj.t, b: Obj.t): bool =>
327327
let a: {..} = Obj.magic(a)
328328
let b: {..} = Obj.magic(b)
329329
if %raw(`b instanceof Error`) && a["message"] === b["message"] {
330-
equal(a["clause"], b["clause"])
330+
equal(a["cause"], b["cause"])
331331
} else {
332332
false
333333
}

0 commit comments

Comments
 (0)