Stéphane Glondu pushed to branch upstream at Debian OCaml Maintainers / ppx-optcomp
Commits: fd5b0355 by Stephane Glondu at 2025-09-10T00:46:08+02:00 New upstream version 0.17.1 - - - - - 2 changed files: - ppx_optcomp.opam - src/ppx_optcomp.ml Changes: ===================================== ppx_optcomp.opam ===================================== @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "v0.17.0" +version: "v0.17.1" maintainer: "Jane Street developers" authors: ["Jane Street Group, LLC"] homepage: "https://github.com/janestreet/ppx_optcomp" @@ -15,7 +15,7 @@ depends: [ "base" {>= "v0.17" & < "v0.18"} "stdio" {>= "v0.17" & < "v0.18"} "dune" {>= "3.11.0"} - "ppxlib" {>= "0.28.0"} + "ppxlib" {>= "0.36.0"} ] available: arch != "arm32" & arch != "x86_32" synopsis: "Optional compilation for OCaml" ===================================== src/ppx_optcomp.ml ===================================== @@ -481,7 +481,8 @@ let map = in let x = match x with - | Pexp_function cs -> Pexp_function (List.filter_map cs ~f) + | Pexp_function (params, constr, Pfunction_cases (cs, loc, attr)) -> + Pexp_function (params, constr, Pfunction_cases (List.filter_map cs ~f, loc, attr)) | Pexp_match (e, cs) -> Pexp_match (super#expression env e, List.filter_map cs ~f) | Pexp_try (e, cs) -> Pexp_try (super#expression env e, List.filter_map cs ~f) | _ -> x View it on GitLab: https://salsa.debian.org/ocaml-team/ppx-optcomp/-/commit/fd5b0355f5eecbeb0e75e9ccde093828158d0514 -- View it on GitLab: https://salsa.debian.org/ocaml-team/ppx-optcomp/-/commit/fd5b0355f5eecbeb0e75e9ccde093828158d0514 You're receiving this email because of your account on salsa.debian.org.

