Skip to content

Commit

Permalink
Restore compat with 4.07-
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Rebours <[email protected]>
  • Loading branch information
NathanReb committed Dec 20, 2024
1 parent b9b38f8 commit 7e2e660
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/ast_builder.mli
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ module type S = sig
end

(** Build Ast helpers with the location argument factorized. *)
module Make (_ : Loc) : S
module Make (Loc : Loc) : S
[@@ocaml.warning "-67"]

val make : Location.t -> (module S)
(** Functional version of [Make]. *)
3 changes: 2 additions & 1 deletion src/driver.mli
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,13 @@ end
In the future we could also use this to directly compute the dependencies
and pass them here, to avoid calling ocamldep separately. *)
module Create_file_property
(_ : sig
(Name : sig
val name : string
end)
(T : Sexpable.S) : sig
val set : T.t -> unit
end
[@@ocaml.warning "-67"]

val standalone : unit -> unit
(** Suitable for -pp and also usable as a standalone command line tool.
Expand Down
2 changes: 1 addition & 1 deletion src/pp_ast.mli
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ end
module type Configured = S with type 'a printer = 'a configured
module type Configurable = S with type 'a printer = 'a configurable

module Make (_ : Conf) : Configured
module Make (Conf : Conf) : Configured [@@ocaml.warning "-67"]

val make : Config.t -> (module Configured)

Expand Down

0 comments on commit 7e2e660

Please sign in to comment.