Skip to content

Commit b9880dc

Browse files
committed
PPX: use 4.10 ASTs
Resolves ocsigen#765.
1 parent a77e6f2 commit b9880dc

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

lwt_ppx.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ depends: [
2020
"dune" {>= "1.1.0"}
2121
"lwt"
2222
"ocaml" {>= "4.02.0"}
23-
"ocaml-migrate-parsetree" {>= "1.4.0"}
24-
"ppx_tools_versioned" {>= "5.2.3"}
23+
"ocaml-migrate-parsetree" {>= "1.5.0"}
24+
"ppx_tools_versioned" {>= "5.3.0"}
2525
]
2626

2727
build: [

src/ppx/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
(libraries compiler-libs.common ocaml-migrate-parsetree ppx_tools_versioned)
77
(ppx_runtime_libraries lwt)
88
(kind ppx_rewriter)
9-
(preprocess (pps ppx_tools_versioned.metaquot_409 bisect_ppx --conditional))
9+
(preprocess (pps ppx_tools_versioned.metaquot_410 bisect_ppx --conditional))
1010
(flags (:standard -w +A-4)))

src/ppx/ppx_lwt.ml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
open! Migrate_parsetree
2-
open! OCaml_409.Ast
2+
open! OCaml_410.Ast
33
open Ast_mapper
44
open! Ast_helper
55
open Asttypes
66
open Parsetree
77

8-
open Ast_convenience_409
8+
open Ast_convenience_410
99

1010
(** {2 Convenient stuff} *)
1111

@@ -350,16 +350,16 @@ let mapper =
350350

351351

352352
let args =
353-
Arg.([
353+
[
354354
"-no-sequence",
355-
Unit no_sequence_option,
355+
Arg.Unit no_sequence_option,
356356
" has no effect (deprecated)";
357357

358358
"-no-strict-sequence",
359-
Unit no_strict_sequence_option,
359+
Arg.Unit no_strict_sequence_option,
360360
" has no effect (deprecated)";
361-
])
361+
]
362362

363363
let () =
364-
Driver.register ~name:"ppx_lwt" ~args Versions.ocaml_409
364+
Driver.register ~name:"ppx_lwt" ~args Versions.ocaml_410
365365
(fun _config _cookies -> mapper)

src/ppx/ppx_lwt.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@ else
161161
*)
162162

163163

164-
val mapper : Migrate_parsetree.OCaml_409.Ast.Ast_mapper.mapper
164+
val mapper : Migrate_parsetree.OCaml_410.Ast.Ast_mapper.mapper

0 commit comments

Comments
 (0)