proper handling of type variabl names
authorhaftmann
Wed, 27 Aug 2008 11:24:34 +0200
changeset 28015 11635f41abc1
parent 28014 fe36718702aa
child 28016 b46f48256dab
proper handling of type variabl names
src/Pure/Isar/code_unit.ML
--- a/src/Pure/Isar/code_unit.ML	Wed Aug 27 11:24:32 2008 +0200
+++ b/src/Pure/Isar/code_unit.ML	Wed Aug 27 11:24:34 2008 +0200
@@ -307,7 +307,7 @@
         val ty_decl = (Logic.unvarifyT o Sign.the_const_type thy) c;
         val (tyco, _) = last_typ (c, ty) ty_decl;
         val (_, vs) = last_typ (c, ty) ty;
-      in ((tyco, map snd vs), (c, (map fst vs, ty_decl))) end;
+      in ((tyco, map snd vs), (c, (map fst vs, ty))) end;
     fun add ((tyco', sorts'), c) ((tyco, sorts), cs) =
       let
         val _ = if tyco' <> tyco