Skip to content

Commit

Permalink
Fix caml_obj after review
Browse files Browse the repository at this point in the history
  • Loading branch information
DZakh committed Aug 7, 2024
1 parent e06248a commit 1c5b0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jscomp/runtime/caml_obj.res
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ let rec equal = (a: Obj.t, b: Obj.t): bool =>
let a: {..} = Obj.magic(a)
let b: {..} = Obj.magic(b)
if %raw(`b instanceof Error`) && a["message"] === b["message"] {
equal(a["clause"], b["clause"])
equal(a["cause"], b["cause"])
} else {
false
}
Expand Down

0 comments on commit 1c5b0bf

Please sign in to comment.