src/Pure/Isar/method.ML
changeset 17412 e26cb20ef0cc
parent 17356 09afdf37cdb3
child 17496 26535df536ae
equal deleted inserted replaced
17411:664434175578 17412:e26cb20ef0cc
   568     fun meth src =
   568     fun meth src =
   569       let
   569       let
   570         val ((raw_name, _), pos) = Args.dest_src src;
   570         val ((raw_name, _), pos) = Args.dest_src src;
   571         val name = NameSpace.intern space raw_name;
   571         val name = NameSpace.intern space raw_name;
   572       in
   572       in
   573         (case Symtab.curried_lookup meths name of
   573         (case Symtab.lookup meths name of
   574           NONE => error ("Unknown proof method: " ^ quote name ^ Position.str_of pos)
   574           NONE => error ("Unknown proof method: " ^ quote name ^ Position.str_of pos)
   575         | SOME ((mth, _), _) => transform_failure (curry METHOD_FAIL (name, pos)) (mth src))
   575         | SOME ((mth, _), _) => transform_failure (curry METHOD_FAIL (name, pos)) (mth src))
   576       end;
   576       end;
   577   in meth end;
   577   in meth end;
   578 
   578