You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ocaml/ocaml#9500 adds support for injectivity annotations on abstract types - at present odoc can't build with trunk OCaml, therefore, since Asttypes.variance changed.
The text was updated successfully, but these errors were encountered:
--- a/src/loader/cmti.ml+++ b/src/loader/cmti.ml@@ -178,9 +178,9 @@ let read_type_parameter (ctyp, var) =
in
let var =
match var with
- | Covariant -> Some Pos- | Contravariant -> Some Neg- | Invariant -> None+ | Covariant, _ -> Some Pos+ | Contravariant, _ -> Some Neg+ | NoVariance, _ -> None
and a revert of ocaml/ocaml#9781 allows odoc master to compile trunk OCaml's documentation.
ocaml/ocaml#9500 adds support for injectivity annotations on abstract types - at present odoc can't build with trunk OCaml, therefore, since
Asttypes.variance
changed.The text was updated successfully, but these errors were encountered: