Bug d'affichage des variables non generiques.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
be33766263
commit
0e43b8c79f
|
@ -143,7 +143,9 @@ let rec typexp sch prio0 ty =
|
|||
let ty = repr ty in
|
||||
try
|
||||
List.assq ty !names;
|
||||
print_string "'";
|
||||
if (ty.desc = Tvar) && sch && (ty.level <> generic_level)
|
||||
then print_string "'_"
|
||||
else print_string "'";
|
||||
print_string (name_of_type ty)
|
||||
with Not_found ->
|
||||
let alias = List.memq ty !aliased in
|
||||
|
|
Loading…
Reference in New Issue