File tree Expand file tree Collapse file tree 3 files changed +15
-51
lines changed Expand file tree Collapse file tree 3 files changed +15
-51
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,7 @@ let query_and_add_if_not_exist
166
166
let (cmj_path, cmj_table) as cmj_info =
167
167
Js_cmj_load. find_cmj_exn (Lam_module_ident. name oid ^ Literals. suffix_cmj) in
168
168
oid +> Runtime {cmj_path;cmj_table} ;
169
- (match env with
170
- | Has_env _ ->
171
- found true
172
- | No_env ->
173
- found (Js_cmj_format. is_pure cmj_table))
169
+ found (Js_cmj_format. is_pure cmj_table)
174
170
| Ml
175
171
->
176
172
let (cmj_path, cmj_table) as cmj_info =
@@ -185,9 +181,7 @@ let query_and_add_if_not_exist
185
181
found (Js_cmj_format. is_pure cmj_table)
186
182
end
187
183
| No_env ->
188
- found (Js_cmj_format. is_pure cmj_table))
189
-
190
-
184
+ found (Js_cmj_format. is_pure cmj_table))
191
185
| External _ ->
192
186
oid +> External ;
193
187
(* * This might be wrong, if we happen to expand an js module
@@ -196,15 +190,9 @@ let query_and_add_if_not_exist
196
190
*)
197
191
found false
198
192
end
199
- | Some (Ml { cmj_table; cmj_path} ) ->
200
- found (Js_cmj_format. is_pure cmj_table)
201
- | Some (Runtime {cmj_path; cmj_table} ) ->
202
- begin match env with
203
- | Has_env _ ->
204
- found true
205
- | No_env ->
206
- found (Js_cmj_format. is_pure cmj_table)
207
- end
193
+ | Some (Ml { cmj_table })
194
+ | Some (Runtime {cmj_table} ) ->
195
+ found (Js_cmj_format. is_pure cmj_table)
208
196
| Some External -> found false
209
197
210
198
Original file line number Diff line number Diff line change @@ -96746,11 +96746,7 @@ let query_and_add_if_not_exist
96746
96746
let (cmj_path, cmj_table) as cmj_info =
96747
96747
Js_cmj_load.find_cmj_exn (Lam_module_ident.name oid ^ Literals.suffix_cmj) in
96748
96748
oid +> Runtime {cmj_path;cmj_table} ;
96749
- (match env with
96750
- | Has_env _ ->
96751
- found true
96752
- | No_env ->
96753
- found (Js_cmj_format.is_pure cmj_table))
96749
+ found (Js_cmj_format.is_pure cmj_table)
96754
96750
| Ml
96755
96751
->
96756
96752
let (cmj_path, cmj_table) as cmj_info =
@@ -96765,9 +96761,7 @@ let query_and_add_if_not_exist
96765
96761
found (Js_cmj_format.is_pure cmj_table)
96766
96762
end
96767
96763
| No_env ->
96768
- found (Js_cmj_format.is_pure cmj_table))
96769
-
96770
-
96764
+ found (Js_cmj_format.is_pure cmj_table))
96771
96765
| External _ ->
96772
96766
oid +> External;
96773
96767
(** This might be wrong, if we happen to expand an js module
@@ -96776,15 +96770,9 @@ let query_and_add_if_not_exist
96776
96770
*)
96777
96771
found false
96778
96772
end
96779
- | Some (Ml { cmj_table; cmj_path}) ->
96780
- found (Js_cmj_format.is_pure cmj_table)
96781
- | Some (Runtime {cmj_path; cmj_table}) ->
96782
- begin match env with
96783
- | Has_env _ ->
96784
- found true
96785
- | No_env ->
96786
- found (Js_cmj_format.is_pure cmj_table)
96787
- end
96773
+ | Some (Ml { cmj_table })
96774
+ | Some (Runtime {cmj_table}) ->
96775
+ found (Js_cmj_format.is_pure cmj_table)
96788
96776
| Some External -> found false
96789
96777
96790
96778
Original file line number Diff line number Diff line change @@ -84267,11 +84267,7 @@ let query_and_add_if_not_exist
84267
84267
let (cmj_path, cmj_table) as cmj_info =
84268
84268
Js_cmj_load.find_cmj_exn (Lam_module_ident.name oid ^ Literals.suffix_cmj) in
84269
84269
oid +> Runtime {cmj_path;cmj_table} ;
84270
- (match env with
84271
- | Has_env _ ->
84272
- found true
84273
- | No_env ->
84274
- found (Js_cmj_format.is_pure cmj_table))
84270
+ found (Js_cmj_format.is_pure cmj_table)
84275
84271
| Ml
84276
84272
->
84277
84273
let (cmj_path, cmj_table) as cmj_info =
@@ -84286,9 +84282,7 @@ let query_and_add_if_not_exist
84286
84282
found (Js_cmj_format.is_pure cmj_table)
84287
84283
end
84288
84284
| No_env ->
84289
- found (Js_cmj_format.is_pure cmj_table))
84290
-
84291
-
84285
+ found (Js_cmj_format.is_pure cmj_table))
84292
84286
| External _ ->
84293
84287
oid +> External;
84294
84288
(** This might be wrong, if we happen to expand an js module
@@ -84297,15 +84291,9 @@ let query_and_add_if_not_exist
84297
84291
*)
84298
84292
found false
84299
84293
end
84300
- | Some (Ml { cmj_table; cmj_path}) ->
84301
- found (Js_cmj_format.is_pure cmj_table)
84302
- | Some (Runtime {cmj_path; cmj_table}) ->
84303
- begin match env with
84304
- | Has_env _ ->
84305
- found true
84306
- | No_env ->
84307
- found (Js_cmj_format.is_pure cmj_table)
84308
- end
84294
+ | Some (Ml { cmj_table })
84295
+ | Some (Runtime {cmj_table}) ->
84296
+ found (Js_cmj_format.is_pure cmj_table)
84309
84297
| Some External -> found false
84310
84298
84311
84299
You can’t perform that action at this time.
0 commit comments