Skip to content

Commit

Permalink
Compiler: fix bug in Js_traverse.rename_variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Aug 2, 2016
1 parent 0ecb12b commit 0977193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/js_traverse.ml
Expand Up @@ -448,6 +448,7 @@ class rename_variable keeps = object
val mutable sub_ = new subst (fun x -> x)

method merge_info from =
super#merge_info from;
let h = Hashtbl.create 17 in
let _ = StringSet.iter (fun name ->
if StringSet.mem name keeps
Expand Down

0 comments on commit 0977193

Please sign in to comment.