Skip to content

Commit

Permalink
Merge pull request #32 from pitag-ha/upgrade-ppxlib-0.22.0
Browse files Browse the repository at this point in the history
Achieve compatibility with ppxlib 0.22.0
  • Loading branch information
cwong-ocaml authored Feb 18, 2021
2 parents 7ba6144 + 26fa817 commit 3609848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion expander/str_generate_sexp_grammar.ml
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ let singleton ~loc ~path core_type : t =
let type_variables, core_type =
collect_type_variables_of_polymorphic_grammar core_type
in
( List.map type_variables ~f:(fun var_name -> ptyp_var ~loc var_name, Invariant)
( List.map type_variables ~f:(fun var_name -> ptyp_var ~loc var_name, (NoVariance, NoInjectivity))
, core_type )
in
let td =
Expand Down
2 changes: 1 addition & 1 deletion ppx_sexp_conv.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ depends: [
"base" {>= "v0.14" & < "v0.15"}
"sexplib0" {>= "v0.14" & < "v0.15"}
"dune" {>= "2.0.0"}
"ppxlib" {>= "0.18.0"}
"ppxlib" {>= "0.22.0"}
]
synopsis: "[@@deriving] plugin to generate S-expression conversion functions"
description: "
Expand Down

0 comments on commit 3609848

Please sign in to comment.