File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -720,7 +720,7 @@ let extract_directive_for_fn exp =
720
720
exp.exp_attributes |> List. find_map (
721
721
fun ({txt} , payload ) -> if txt = " directive" then Ast_payload. is_single_string payload else None )
722
722
723
- let args_elgible_for_dict_inlining (args : expression list ) =
723
+ let args_eligible_for_dict_inlining (args : expression list ) =
724
724
args
725
725
|> List. find_opt (fun (arg : expression ) ->
726
726
match arg.exp_desc with
@@ -818,7 +818,7 @@ and transl_exp0 (e : Typedtree.expression) : Lambda.lambda =
818
818
_ );
819
819
},
820
820
[(_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 ->
822
822
let fields = Array. make (List. length args) " " in
823
823
let args =
824
824
args
You can’t perform that action at this time.
0 commit comments