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]. *)