File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ type _ t =
161
161
let query_and_add_if_not_exist
162
162
(type u )
163
163
(oid : Lam_module_ident.t )
164
- ( env : u t ) ~(found : bool -> _ ) =
164
+ ~(found : bool -> _ ) =
165
165
match Lam_module_ident.Hash. find_opt cached_tbl oid with
166
166
| None ->
167
167
begin match oid.kind with
@@ -240,7 +240,7 @@ let add = Lam_module_ident.Hash_set.add
240
240
(* Conservative interface *)
241
241
let is_pure_module (id : Lam_module_ident.t ) =
242
242
id.kind = Runtime ||
243
- query_and_add_if_not_exist id No_env
243
+ query_and_add_if_not_exist id
244
244
~found: (fun x -> x)
245
245
246
246
let get_required_modules
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ val query_external_id_info :
98
98
99
99
val query_and_add_if_not_exist :
100
100
Lam_module_ident .t ->
101
- 'a t ->
102
- found :( bool -> 'b ) -> 'b
101
+ found :( bool -> 'b ) ->
102
+ 'b
103
103
104
104
val is_pure_module : Lam_module_ident .t -> bool
105
105
Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ let get_dependent_module_effect
111
111
(fun id ->
112
112
id.kind = Runtime ||
113
113
Lam_compile_env. query_and_add_if_not_exist id
114
- (Has_env meta.env )
115
114
~found: (fun pure -> pure)
116
115
) in
117
116
Ext_option. map non_pure_module (fun x -> Lam_module_ident. name x)
You can’t perform that action at this time.
0 commit comments