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 <nathan.p.rebours@gmail.com>
  • Loading branch information
NathanReb committed Dec 19, 2024
1 parent b9b38f8 commit c1b380c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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]. *)
1 change: 1 addition & 0 deletions src/driver.mli
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ module Create_file_property
(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 c1b380c

Please sign in to comment.