File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -166,10 +166,8 @@ let gen_fn_mk loc arity args : Parsetree.expression_desc =
166
166
arrow (arrow (Ast_literal. type_unit ~loc () ) (List. hd tyvars) ) uncurry_fn
167
167
else
168
168
arrow (Ext_list. reduce_from_right arrow tyvars) uncurry_fn in
169
- let local_module_name = " Tmp" in
170
- let local_fun_name = " mk" in
171
169
Ast_comb. create_local_external loc ~pval_prim ~pval_type
172
- ~local_module_name ~local_fun_name args
170
+ args
173
171
174
172
175
173
let find_uncurry_attrs_and_remove (attrs : Parsetree.attributes ) =
@@ -388,9 +386,7 @@ let handle_obj_property loc obj name e
388
386
~pval_type: (
389
387
Ast_comb. arrow_no_label ~loc
390
388
(lift_js_type ~loc var) var)
391
-
392
- ~local_module_name: " Tmp"
393
- ~local_fun_name: " cast" [" " , obj] in
389
+ [" " , obj] in
394
390
{ e with pexp_desc =
395
391
Pexp_send
396
392
({pexp_desc = down ;
You can’t perform that action at this time.
0 commit comments