src/Pure/Isar/proof_context.ML
changeset 43794 49cbbe2768a8
parent 43552 156c822f181a
child 45327 4a027cc86f1a
--- a/src/Pure/Isar/proof_context.ML	Wed Jul 13 20:13:27 2011 +0200
+++ b/src/Pure/Isar/proof_context.ML	Wed Jul 13 20:36:18 2011 +0200
@@ -449,7 +449,7 @@
           Const (d, Consts.type_scheme (consts_of ctxt) d handle TYPE (msg, _, _) => err msg)
       | NONE => Consts.read_const consts (c, pos));
     val _ =
-      if strict then ignore (Consts.the_type consts d) handle TYPE (msg, _, _) => err msg
+      if strict then ignore (Consts.the_const consts d) handle TYPE (msg, _, _) => err msg
       else ();
     val _ = Context_Position.report ctxt pos (Name_Space.markup (Consts.space_of consts) d);
   in t end;