Skip to content

Commit bf67fa4

Browse files
committed
4.02 compat
1 parent 45d36eb commit bf67fa4

File tree

4 files changed

+305
-301
lines changed

4 files changed

+305
-301
lines changed

src/model/names.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
open Odoc_utils
2+
13
(** Returns [true] on chars that are part of operators. *)
24
let operator_char = function
35
(* https://ocaml.org/manual/5.2/lex.html#core-operator-char *)

src/ocamlary/dune

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
(library
22
(name ocamlary)
33
(public_name odoc.ocamlary)
4+
(enabled_if
5+
(>= %{ocaml_version} 4.14.0))
46
(virtual_modules ocamlary))

test/generators/gen_rules/gen_rules.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let constraints =
4848
[
4949
("stop_dead_link_doc.mli", Min "4.04");
5050
("bugs_post_406.mli", Min "4.06");
51-
("ocamlary.mli", Min "4.07");
51+
("ocamlary.mli", Min "4.14");
5252
("recent.mli", Min "4.09");
5353
("labels.mli", Min "4.09");
5454
("recent_impl.ml", Min "4.09");

0 commit comments

Comments
 (0)