Skip to content

Commit

Permalink
Update to OCaml 4.10 AST
Browse files Browse the repository at this point in the history
  • Loading branch information
hcarty committed May 4, 2020
1 parent 6f0d731 commit 6123ff3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# vNext
# v0.4.0

* Upgrade to dune
* Use dune to generate opam metadata
* Use 4.08 AST from ocaml-migrate-parsetree and ppx\_tools\_versioned
* Use 4.10 AST from ocaml-migrate-parsetree and ppx\_tools\_versioned

# v0.3.0

Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
(depends
(ocaml (>= 4.02.3))
(dune (>= 2.0))
ocaml-migrate-parsetree
(ocaml-migrate-parsetree (>= 1.5.0))
ppx_tools_versioned))
2 changes: 1 addition & 1 deletion ppx_defer.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bug-reports: "https://github.com/hcarty/ppx_defer/issues"
depends: [
"ocaml" {>= "4.02.3"}
"dune" {>= "2.0"}
"ocaml-migrate-parsetree"
"ocaml-migrate-parsetree" {>= "1.5.0"}
"ppx_tools_versioned"
]
build: [
Expand Down
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
(libraries compiler-libs.common ocaml-migrate-parsetree)
(kind ppx_rewriter)
(preprocess
(pps ppx_tools_versioned.metaquot_408)))
(pps ppx_tools_versioned.metaquot_410)))
4 changes: 2 additions & 2 deletions src/ppx_defer.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open Migrate_parsetree
open OCaml_408.Ast
open OCaml_410.Ast
open Ast_mapper
open Parsetree

Expand Down Expand Up @@ -68,5 +68,5 @@ let defer_mapper =
}

let () =
Driver.register ~name:"ppx_defer" Versions.ocaml_408
Driver.register ~name:"ppx_defer" Versions.ocaml_410
(fun _config _cookies -> defer_mapper)

0 comments on commit 6123ff3

Please sign in to comment.