Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
(>= 4.8.0))
dune
(ppxlib
(>= 0.27.0))
(>= 0.36.0))
(alcotest
(and
:with-test
Expand Down
2 changes: 1 addition & 1 deletion ppx_parser.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bug-reports: "https://github.com/NielsMommen/ppx_parser/issues"
depends: [
"ocaml" {>= "4.8.0"}
"dune" {>= "2.9"}
"ppxlib" {>= "0.27.0"}
"ppxlib" {>= "0.36.0"}
"alcotest" {with-test & >= "1.2.0"}
"ppx_deriving" {with-test}
"camlp-streams" {with-test}
Expand Down
2 changes: 1 addition & 1 deletion rewriter/ppx_parser.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ open Ppxlib

let ppx_parser_pat = Ast_pattern.(single_expr_payload
(alt
(pexp_function __ |> map1 ~f:(fun cases -> (None, cases)) )
(pexp_function drop drop (pfunction_cases __ drop drop) |> map1 ~f:(fun cases -> (None, cases)) )
(pexp_match __ __ |> map2 ~f:(fun e cases -> (Some e, cases)) ))
)

Expand Down
Loading