File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ let count_collects () =
55
55
(* collect all def sites *)
56
56
val defined_idents : J .variable_declaration Ident_hashtbl .t = Ident_hashtbl .create 83
57
57
58
- val mutable export_set : Ident_set. t = Ident_set. empty
58
+ val mutable my_export_set : Ident_set. t = Ident_set. empty
59
59
val mutable name : string = " "
60
60
61
61
method add_use id =
62
62
match Ident_hashtbl. find_opt stats id with
63
63
| None -> Ident_hashtbl. add stats id (ref 1 )
64
64
| Some v -> incr v
65
65
method! program x =
66
- export_set < - x.export_set ;
66
+ my_export_set < - x.export_set ;
67
67
name < - x.name;
68
68
super#program x
69
69
method! variable_declaration
@@ -78,7 +78,7 @@ let count_collects () =
78
78
method! ident id = self#add_use id; self
79
79
method get_stats =
80
80
Ident_hashtbl. iter defined_idents (fun ident v ->
81
- if Ident_set. mem export_set ident then
81
+ if Ident_set. mem my_export_set ident then
82
82
Js_op_util. update_used_stats v.ident_info Exported
83
83
else
84
84
let pure =
You can’t perform that action at this time.
0 commit comments