Skip to content

Commit 07fa877

Browse files
committed
put [@Local] back
1 parent 0b2ed1c commit 07fa877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/core/lam_pass_remove_alias.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ let simplify_alias (meta : Lam_stats.t) (lam : Lam.t) : Lam.t =
6767
| Lprim { primitive = Pfull_apply; args = Lvar v :: ap_args as args; loc }
6868
-> (
6969
(* Inline uncurried application when safe *)
70-
let normal () =
70+
let[@local] normal () =
7171
Lam.prim ~primitive:Pfull_apply ~args:(Ext_list.map args simpl) loc
7272
in
7373
let ap_args = Ext_list.map ap_args simpl in

0 commit comments

Comments
 (0)