Skip to content

Commit

Permalink
Remove a tiny code stutter I came across
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfirere authored and antalsz committed Dec 21, 2022
1 parent fae9aef commit 98896e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions parsing/pprintast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,11 @@ and core_type ctxt f x =
core_type ctxt f ct
| Ptyp_poly (sl, ct) ->
pp f "@[<2>%a%a@]"
(fun f l ->
pp f "%a"
(fun f l -> match l with
| [] -> ()
| _ ->
pp f "%a@;.@;"
(list tyvar_loc ~sep:"@;") l)
l)
sl (core_type ctxt) ct
| _ -> pp f "@[<2>%a@]" (core_type1 ctxt) x

Expand Down

0 comments on commit 98896e0

Please sign in to comment.