Skip to content

Commit 46725f6

Browse files
committed
Tweak.
1 parent bd64a10 commit 46725f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/core/lam_compile.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ and compile_switch switch_arg sw (lambda_cxt : Lam_compile_context.t) =
567567
(* [e] will be used twice *)
568568
let dispatch e =
569569
S.if_
570-
(E.is_type_number e )
570+
((* E.is_type_string *) E.is_type_number e)
571571
(compile_cases cxt e sw_consts sw_num_default
572572
)
573573
(* default still needed, could simplified*)

0 commit comments

Comments
 (0)