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 =
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
You can’t perform that action at this time.
0 commit comments