Skip to content

Commit 8b314d8

Browse files
committed
flip
1 parent e431a03 commit 8b314d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/core/lam_compile.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ and compile_untagged_cases cxt switch_exp table default =
749749
| Block StringType
750750
| Block FloatType
751751
| Block Object -> E.string_equal (E.typeof y) x
752-
| Block Array -> E.instanceof x y
752+
| Block Array -> E.instanceof y x
753753
| Block Unknown ->
754754
(* This should not happen because unknown must be the only non-literal case *)
755755
assert false

0 commit comments

Comments
 (0)