src/Pure/Isar/theory_target.ML
changeset 24848 5dbbd33c3236
parent 24838 1d1bddf87353
child 24901 d3cbf79769b9
--- a/src/Pure/Isar/theory_target.ML	Thu Oct 04 20:29:13 2007 +0200
+++ b/src/Pure/Isar/theory_target.ML	Thu Oct 04 20:29:24 2007 +0200
@@ -211,7 +211,7 @@
 fun add_def_new (name, prop) thy =  (* FIXME inactive --- breaks codegen *)
   let
     val tfrees = rev (map TFree (Term.add_tfrees prop []));
-    val tfrees' = map (fn a => TFree (a, [])) (Name.invents Name.context "'a" (length tfrees));
+    val tfrees' = map (fn a => TFree (a, [])) (Name.invents Name.context Name.aT (length tfrees));
     val strip_sorts = tfrees ~~ tfrees';
     val recover_sorts = map (pairself (Thm.ctyp_of thy o Logic.varifyT)) (tfrees' ~~ tfrees);