diff options
-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'; |