From 2ac97800b33d087ad6df0adbe1312886b4d9a4b0 Mon Sep 17 00:00:00 2001 From: Paul-Elliot Date: Tue, 12 Sep 2023 15:08:10 +0200 Subject: [PATCH] compatibility with 4.02 Signed-off-by: Paul-Elliot --- src/ocamlary/ocamlary.mli | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ocamlary/ocamlary.mli b/src/ocamlary/ocamlary.mli index 6ef6a2e791..b2981ef8ba 100644 --- a/src/ocamlary/ocamlary.mli +++ b/src/ocamlary/ocamlary.mli @@ -431,8 +431,10 @@ type variant = (** This comment is for [poly_variant]. *) type poly_variant = - [ `TagA (** This is a comment for [`TagA] *) - | `ConstrB of int (** This is a comment for [`ConstrB] *) ] + [ `TagA + (* This is a comment for [`TagA]. Disabled for compatibility + with 4.02. *) + | `ConstrB of int (* This is a comment for [`ConstrB] *) ] (** Wow! It was a polymorphic variant! *) (** This comment is for [full_gadt]. *)