Skip to content

Commit ad43ed0

Browse files
committed
spelling
1 parent 3c4fcce commit ad43ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jscomp/ml/translcore.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ let extract_directive_for_fn exp =
720720
exp.exp_attributes |> List.find_map (
721721
fun ({txt}, payload) -> if txt = "directive" then Ast_payload.is_single_string payload else None)
722722

723-
let args_elgible_for_dict_inlining (args : expression list) =
723+
let args_eligible_for_dict_inlining (args : expression list) =
724724
args
725725
|> List.find_opt (fun (arg : expression) ->
726726
match arg.exp_desc with
@@ -818,7 +818,7 @@ and transl_exp0 (e : Typedtree.expression) : Lambda.lambda =
818818
_ );
819819
},
820820
[(_lbl, Some {exp_desc = Texp_array args})] )
821-
when Ident.name module_name = "Js" && args_elgible_for_dict_inlining args ->
821+
when Ident.name module_name = "Js" && args_eligible_for_dict_inlining args ->
822822
let fields = Array.make (List.length args) "" in
823823
let args =
824824
args

0 commit comments

Comments
 (0)