src/Pure/sign.ML
changeset 16988 02cd0c8b96d9
parent 16941 0bda949449ee
child 17037 bd15f69bd947
--- a/src/Pure/sign.ML	Mon Aug 01 19:20:41 2005 +0200
+++ b/src/Pure/sign.ML	Mon Aug 01 19:20:42 2005 +0200
@@ -672,7 +672,7 @@
 
 fun gen_add_consts prep_typ raw_args thy =
   let
-    val prepT = compress_type o Type.varifyT o Type.no_tvars o Term.no_dummyT o prep_typ thy;
+    val prepT = Compress.typ thy o Type.varifyT o Type.no_tvars o Term.no_dummyT o prep_typ thy;
     fun prep (c, T, mx) = ((c, prepT T, mx) handle TYPE (msg, _, _) => error msg)
       handle ERROR => error ("in declaration of constant " ^ quote (Syntax.const_name c mx));
     val args = map prep raw_args;