Skip to content

Commit

Permalink
Remove deprecated lib
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Dec 7, 2024
1 parent 51e7d3f commit 65aafbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vendor/ppx_deriving_jsont/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(name ppx_deriving_jsont)
(public_name ppx_deriving_jsont)
(synopsis "[@@deriving jsont]")
(libraries ppxlib ppx_deriving.api)
(libraries ppxlib)
(preprocess
(pps ppxlib.metaquot))
(ppx_runtime_libraries jsont)
Expand Down
4 changes: 3 additions & 1 deletion vendor/ppx_deriving_jsont/src/ppx_deriving_jsont.ml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ let rec of_core_type (core_type : Parsetree.core_type) =
[%expr Jsont.list [%e jsont]]
| { ptyp_desc = Ptyp_constr ({ txt = lid; loc }, _args); _ } ->
(* TODO: arguments ? quoting ? *)
Exp.ident (Loc.make ~loc (Ppx_deriving.mangle_lid (`Suffix "jsont") lid))
Exp.ident
(Loc.make ~loc
(Ppxlib.Expansion_helpers.mangle_lid (Suffix "jsont") lid))
| ct ->
let msg =
Printf.sprintf "Not implemented: core_type %s"
Expand Down

0 comments on commit 65aafbb

Please sign in to comment.