proper Envir.norm_type for result of Unify.unifiers (amending 479832ff2d29 from 20 years ago);
authorwenzelm
Sat, 08 Nov 2014 16:35:24 +0100
changeset 58946 3bf80312508e
parent 58945 cfb254e6c261
child 58947 79684150ed6a
proper Envir.norm_type for result of Unify.unifiers (amending 479832ff2d29 from 20 years ago);
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Sat Nov 08 15:45:00 2014 +0100
+++ b/src/Pure/thm.ML	Sat Nov 08 16:35:24 2014 +0100
@@ -1545,7 +1545,7 @@
 fun norm_term_skip env 0 t = Envir.norm_term env t
   | norm_term_skip env n (Const ("Pure.all", _) $ Abs (a, T, t)) =
       let
-        val T' = Envir.subst_type (Envir.type_env env) T
+        val T' = Envir.norm_type (Envir.type_env env) T
         (*Must instantiate types of parameters because they are flattened;
           this could be a NEW parameter*)
       in Logic.all_const T' $ Abs (a, T', norm_term_skip env n t) end