Skip to content

Commit 929c9cc

Browse files
authored
chore: Remove Meet_env (#3856)
This is dead code since #3726.
1 parent d44029b commit 929c9cc

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

middle_end/flambda2/types/env/typing_env.ml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -245,26 +245,6 @@ end = struct
245245
now_meeting_or_joining_names t name1 name2))
246246
end
247247

248-
module Meet_env : sig
249-
type t
250-
251-
val print : Format.formatter -> t -> unit
252-
253-
val create : typing_env -> t
254-
255-
val env : t -> typing_env
256-
257-
val now_meeting : t -> Simple.t -> Simple.t -> t
258-
259-
val already_meeting : t -> Simple.t -> Simple.t -> bool
260-
end = struct
261-
include Meet_or_join_env_base
262-
263-
let now_meeting = now_meeting_or_joining
264-
265-
let already_meeting = already_meeting_or_joining
266-
end
267-
268248
type 'a meet_return_value =
269249
| Left_input
270250
| Right_input

middle_end/flambda2/types/env/typing_env.mli

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,6 @@ module Serializable : sig
5555
t -> Symbol.t -> (Code_id.t -> 'code) -> 'code Value_approximation.t
5656
end
5757

58-
module Meet_env : sig
59-
type t
60-
61-
val print : Format.formatter -> t -> unit
62-
63-
val create : typing_env -> t
64-
65-
val env : t -> typing_env
66-
67-
(** Note that we are now in the process of meeting the given two [Simple]s. *)
68-
val now_meeting : t -> Simple.t -> Simple.t -> t
69-
70-
(** Determine whether we are now in the process of meeting the given two
71-
[Simple]s. The arguments do not have to be provided in the same order as
72-
when [now_meeting] was called. *)
73-
val already_meeting : t -> Simple.t -> Simple.t -> bool
74-
end
75-
7658
module Join_env : sig
7759
type t
7860

0 commit comments

Comments
 (0)