Skip to content

Commit

Permalink
FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Feb 29, 2024
1 parent 177b030 commit f78ac9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/lib/js_traverse.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ class compact_vardecl =
method private var x = insert_ <- IdentSet.add x insert_

method fun_decl (k, params, body, nid) =
let m' = {<>} in
let m' = {<insert_ = IdentSet.empty>} in
let params = m'#formal_parameter_list params in
let body = m'#function_body body in
let body = m'#pack body in
Expand Down

0 comments on commit f78ac9f

Please sign in to comment.