Skip to content

Commit 7afd6c0

Browse files
committed
Allow printing of TypeSets
1 parent 03ea384 commit 7afd6c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/debug_printers.ml

+1
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ let mod_bounds ppf m = Types.Jkind_mod_bounds.debug_print ppf m
2323
let with_bounds ppf w = Jkind.With_bounds.debug_print ppf w
2424
let with_bounds_types ppf w = Jkind.With_bounds.debug_print_types ppf w
2525
let modalities = Mode.Modality.Value.Const.print
26+
let type_set ppf set = let open Format in fprintf ppf "@[[%a]@]" (pp_print_list ~pp_sep:(fun ppf () -> fprintf ppf ";@ ") Printtyp.raw_type_expr) (Btype.TypeSet.elements set)

0 commit comments

Comments
 (0)