Skip to content

Commit 2ac9780

Browse files
committed
compatibility with 4.02
Signed-off-by: Paul-Elliot <peada@free.fr>
1 parent cc3610b commit 2ac9780

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ocamlary/ocamlary.mli

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,10 @@ type variant =
431431

432432
(** This comment is for [poly_variant]. *)
433433
type poly_variant =
434-
[ `TagA (** This is a comment for [`TagA] *)
435-
| `ConstrB of int (** This is a comment for [`ConstrB] *) ]
434+
[ `TagA
435+
(* This is a comment for [`TagA]. Disabled for compatibility
436+
with 4.02. *)
437+
| `ConstrB of int (* This is a comment for [`ConstrB] *) ]
436438
(** Wow! It was a polymorphic variant! *)
437439

438440
(** This comment is for [full_gadt]. *)

0 commit comments

Comments
 (0)