src/Pure/display.ML
changeset 24848 5dbbd33c3236
parent 24774 bc31c318e673
child 24920 2a45e400fdad
--- a/src/Pure/display.ML	Thu Oct 04 20:29:13 2007 +0200
+++ b/src/Pure/display.ML	Thu Oct 04 20:29:24 2007 +0200
@@ -172,7 +172,7 @@
     val tfrees = map (fn v => TFree (v, []));
     fun pretty_type syn (t, (Type.LogicalType n, _)) =
           if syn then NONE
-          else SOME (prt_typ (Type (t, tfrees (Name.invent_list [] "'a" n))))
+          else SOME (prt_typ (Type (t, tfrees (Name.invents Name.context Name.aT n))))
       | pretty_type syn (t, (Type.Abbreviation (vs, U, syn'), _)) =
           if syn <> syn' then NONE
           else SOME (Pretty.block