Skip to content

Commit

Permalink
fix printer
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Dec 20, 2024
1 parent a73956d commit f65d3f0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/mo_types/type.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1789,18 +1789,18 @@ and pp_stab_sig ppf sig_ =
match sig_ with
| Single tfs ->
fprintf ppf "@[<v 2>%s{@;<0 0>%a@;<0 -2>}@]"
(string_of_obj_sort Actor)
(pp_print_list ~pp_sep:semi (pp_stab_field vs)) tfs
(string_of_obj_sort Actor)
(pp_print_list ~pp_sep:semi (pp_stab_field vs)) tfs
| PrePost (pre, post) ->
fprintf ppf "@[<v 2>%s({@;<0 0>%a@;<0 -2>}, {@;<0 0>%a@;<0 -2>}) @]"
(string_of_obj_sort Actor)
(pp_print_list ~pp_sep:semi (pp_stab_field vs)) pre
(pp_print_list ~pp_sep:semi (pp_stab_field vs)) post
(string_of_obj_sort Actor)
(pp_print_list ~pp_sep:semi (pp_stab_field vs)) pre
(pp_print_list ~pp_sep:semi (pp_stab_field vs)) post
in
fprintf ppf "@[<v 0>%a%a%a;@]"
(pp_print_list ~pp_sep:semi (pp_field vs)) fs
(if fs = [] then fun ppf () -> () else semi) ()
pp_stab_actor sig_
fprintf ppf "@[<v 0>%a%a%a;@]"
(pp_print_list ~pp_sep:semi (pp_field vs)) fs
(if fs = [] then fun ppf () -> () else semi) ()
pp_stab_actor sig_

let rec pp_typ_expand' vs ppf t =
match t with
Expand Down

0 comments on commit f65d3f0

Please sign in to comment.