src/Pure/Isar/proof_context.ML
changeset 43794 49cbbe2768a8
parent 43552 156c822f181a
child 45327 4a027cc86f1a
equal deleted inserted replaced
43793:9c9a9b13c5da 43794:49cbbe2768a8
   447       (case Variable.lookup_const ctxt c of
   447       (case Variable.lookup_const ctxt c of
   448         SOME d =>
   448         SOME d =>
   449           Const (d, Consts.type_scheme (consts_of ctxt) d handle TYPE (msg, _, _) => err msg)
   449           Const (d, Consts.type_scheme (consts_of ctxt) d handle TYPE (msg, _, _) => err msg)
   450       | NONE => Consts.read_const consts (c, pos));
   450       | NONE => Consts.read_const consts (c, pos));
   451     val _ =
   451     val _ =
   452       if strict then ignore (Consts.the_type consts d) handle TYPE (msg, _, _) => err msg
   452       if strict then ignore (Consts.the_const consts d) handle TYPE (msg, _, _) => err msg
   453       else ();
   453       else ();
   454     val _ = Context_Position.report ctxt pos (Name_Space.markup (Consts.space_of consts) d);
   454     val _ = Context_Position.report ctxt pos (Name_Space.markup (Consts.space_of consts) d);
   455   in t end;
   455   in t end;
   456 
   456 
   457 in
   457 in