Skip to content

Commit d091998

Browse files
committed
restore to OCaml 5.2
1 parent 38e972e commit d091998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ppx_regexp/ppx_regexp.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ let transformation ctx =
237237
let _ppx_regexp_v = [%e e] in
238238
[%e cases]],
239239
binding :: acc )
240-
| Pexp_function (_, _, Pfunction_cases (cases, _, _)) ->
240+
| Pexp_function cases ->
241241
let cases, binding = transform_cases ~ctx ~loc cases in
242242
[%expr fun _ppx_regexp_v -> [%e cases]], binding :: acc
243243
| _ -> error ~loc "[%%pcre] only applies to match and function."

0 commit comments

Comments
 (0)