File tree 4 files changed +16
-16
lines changed
4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 27
27
28
28
let add_lam_module_ident = Lam_module_ident.Hash_set. add
29
29
let create = Lam_module_ident.Hash_set. create
30
- class count_hard_dependencies =
30
+ class count_hard_dependencies hard_dependencies =
31
31
object (self : 'self_type )
32
32
inherit Js_fold. fold as super
33
- val hard_dependencies = create 17
34
33
method! module_id vid =
35
34
add_lam_module_ident hard_dependencies vid; self
36
35
method! expression x : 'self_type =
@@ -42,11 +41,12 @@ class count_hard_dependencies =
42
41
id)
43
42
| _ -> () );
44
43
super#expression x
45
- method get_hard_dependencies = hard_dependencies
46
44
end
47
45
48
46
let calculate_hard_dependencies block =
49
- ((new count_hard_dependencies)#block block) # get_hard_dependencies
47
+ let hard_dependencies = create 17 in
48
+ let _ : Js_fold.fold = (new count_hard_dependencies hard_dependencies)#block block in
49
+ hard_dependencies
50
50
51
51
(*
52
52
Given a set of [variables], count which variables [lam] will depend on
Original file line number Diff line number Diff line change @@ -99248,10 +99248,9 @@ end = struct
99248
99248
99249
99249
let add_lam_module_ident = Lam_module_ident.Hash_set.add
99250
99250
let create = Lam_module_ident.Hash_set.create
99251
- class count_hard_dependencies =
99251
+ class count_hard_dependencies hard_dependencies =
99252
99252
object(self : 'self_type)
99253
99253
inherit Js_fold.fold as super
99254
- val hard_dependencies = create 17
99255
99254
method! module_id vid =
99256
99255
add_lam_module_ident hard_dependencies vid; self
99257
99256
method! expression x : 'self_type =
@@ -99263,11 +99262,12 @@ class count_hard_dependencies =
99263
99262
id)
99264
99263
| _ -> ());
99265
99264
super#expression x
99266
- method get_hard_dependencies = hard_dependencies
99267
99265
end
99268
99266
99269
99267
let calculate_hard_dependencies block =
99270
- ((new count_hard_dependencies)#block block) # get_hard_dependencies
99268
+ let hard_dependencies = create 17 in
99269
+ let _ : Js_fold.fold = (new count_hard_dependencies hard_dependencies)#block block in
99270
+ hard_dependencies
99271
99271
99272
99272
(*
99273
99273
Given a set of [variables], count which variables [lam] will depend on
Original file line number Diff line number Diff line change @@ -99248,10 +99248,9 @@ end = struct
99248
99248
99249
99249
let add_lam_module_ident = Lam_module_ident.Hash_set.add
99250
99250
let create = Lam_module_ident.Hash_set.create
99251
- class count_hard_dependencies =
99251
+ class count_hard_dependencies hard_dependencies =
99252
99252
object(self : 'self_type)
99253
99253
inherit Js_fold.fold as super
99254
- val hard_dependencies = create 17
99255
99254
method! module_id vid =
99256
99255
add_lam_module_ident hard_dependencies vid; self
99257
99256
method! expression x : 'self_type =
@@ -99263,11 +99262,12 @@ class count_hard_dependencies =
99263
99262
id)
99264
99263
| _ -> ());
99265
99264
super#expression x
99266
- method get_hard_dependencies = hard_dependencies
99267
99265
end
99268
99266
99269
99267
let calculate_hard_dependencies block =
99270
- ((new count_hard_dependencies)#block block) # get_hard_dependencies
99268
+ let hard_dependencies = create 17 in
99269
+ let _ : Js_fold.fold = (new count_hard_dependencies hard_dependencies)#block block in
99270
+ hard_dependencies
99271
99271
99272
99272
(*
99273
99273
Given a set of [variables], count which variables [lam] will depend on
Original file line number Diff line number Diff line change @@ -381730,10 +381730,9 @@ end = struct
381730
381730
381731
381731
let add_lam_module_ident = Lam_module_ident.Hash_set.add
381732
381732
let create = Lam_module_ident.Hash_set.create
381733
- class count_hard_dependencies =
381733
+ class count_hard_dependencies hard_dependencies =
381734
381734
object(self : 'self_type)
381735
381735
inherit Js_fold.fold as super
381736
- val hard_dependencies = create 17
381737
381736
method! module_id vid =
381738
381737
add_lam_module_ident hard_dependencies vid; self
381739
381738
method! expression x : 'self_type =
@@ -381745,11 +381744,12 @@ class count_hard_dependencies =
381745
381744
id)
381746
381745
| _ -> ());
381747
381746
super#expression x
381748
- method get_hard_dependencies = hard_dependencies
381749
381747
end
381750
381748
381751
381749
let calculate_hard_dependencies block =
381752
- ((new count_hard_dependencies)#block block) # get_hard_dependencies
381750
+ let hard_dependencies = create 17 in
381751
+ let _ : Js_fold.fold = (new count_hard_dependencies hard_dependencies)#block block in
381752
+ hard_dependencies
381753
381753
381754
381754
(*
381755
381755
Given a set of [variables], count which variables [lam] will depend on
You can’t perform that action at this time.
0 commit comments