diff options
author | Jérôme Vouillon <Jerome.Vouillon@pps.jussieu.fr> | 1997-03-10 00:21:57 +0000 |
---|---|---|
committer | Jérôme Vouillon <Jerome.Vouillon@pps.jussieu.fr> | 1997-03-10 00:21:57 +0000 |
commit | ce58e420c8e1c59d843fcfa4a251b1902b3e8484 (patch) | |
tree | 676f4582cfbcf6ac9b2d6e13281dd2331e0ada5d | |
parent | fe510f90a50e0da82c47cde591d7d7af6abba05c (diff) |
Subst.type_expr laisse le type inchange' si la substitution est
l'identite'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | typing/subst.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/typing/subst.ml b/typing/subst.ml index daa3751af..c331993e2 100644 --- a/typing/subst.ml +++ b/typing/subst.ml @@ -147,6 +147,7 @@ let rec typexp s ty = end let type_expr s ty = + if s = identity then ty else let ty' = typexp s ty in cleanup_types (); unmark_type ty'; |