summaryrefslogtreecommitdiffstats
path: root/typing/printtyp.ml
diff options
context:
space:
mode:
Diffstat (limited to 'typing/printtyp.ml')
-rw-r--r--typing/printtyp.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/typing/printtyp.ml b/typing/printtyp.ml
index c2bf66cc2..b9b1026db 100644
--- a/typing/printtyp.ml
+++ b/typing/printtyp.ml
@@ -436,6 +436,12 @@ and type_sch ppf ty = typexp true 0 ppf ty
and type_scheme ppf ty = reset_and_mark_loops ty; typexp true 0 ppf ty
+(* Maxence *)
+let type_scheme_max ?(b_reset_names=true) ppf ty =
+ if b_reset_names then reset_names () ;
+ typexp true 0 ppf ty
+(* Fin Maxence *)
+
let tree_of_type_scheme ty = reset_and_mark_loops ty; tree_of_typexp true ty
(* Print modules types and signatures *)