Skip to content

Commit

Permalink
Fix: Ast_mapper.map_function_param should call arg_label (#2473)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetiot authored Nov 6, 2023
1 parent 1aaffd9 commit 4e2a618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/parser-extended/ast_mapper.ml
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ module E = struct
match desc with
| Pparam_val (lab, def, p) ->
Pparam_val
(lab,
(sub.arg_label sub lab,
map_opt (sub.expr sub) def,
sub.pat sub p)
| Pparam_newtype ty ->
Expand Down

0 comments on commit 4e2a618

Please sign in to comment.