Skip to content

Commit

Permalink
Adjust whitespace and alpha-vary
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Mar 29, 2023
1 parent b76bf61 commit 897867f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ppx/instrument.ml
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,11 @@ struct
|> List.map (fun (location_trace, p'') ->
(location_trace, Pat.alias ~loc ~attrs p'' x))

| Ppat_construct (c, Some (exnames, p')) ->
| Ppat_construct (c, Some (ts, p')) ->
recur ~enclosing_loc p'
|> List.map (fun (location_trace, p'') ->
(location_trace, Pat.mk ~loc ~attrs Pat.(Ppat_construct (c, Some(exnames, p'')))))
(location_trace,
Pat.mk ~loc ~attrs Pat.(Ppat_construct (c, Some (ts, p'')))))

| Ppat_variant (c, Some p') ->
recur ~enclosing_loc p'
Expand Down

0 comments on commit 897867f

Please sign in to comment.