# HG changeset patch # User wenzelm # Date 967924383 -7200 # Node ID 7e785df2b76ac7f2e8815c970e1849e9295b9217 # Parent 58e9d55a9f8834a4270a42bd55baecf1c868bcf3 method_setup: thms closure; diff -r 58e9d55a9f88 -r 7e785df2b76a src/Pure/Isar/isar_thy.ML --- a/src/Pure/Isar/isar_thy.ML Sat Sep 02 21:52:33 2000 +0200 +++ b/src/Pure/Isar/isar_thy.ML Sat Sep 02 21:53:03 2000 +0200 @@ -558,7 +558,9 @@ fun method_setup ((name, txt, cmt), comment_ignore) = Context.use_let - "val method: bstring * (Args.src -> Proof.context -> Proof.method) * string" + "val thm = PureThy.get_thm_closure (Context.the_context ());\n\ + \val thms = PureThy.get_thms_closure (Context.the_context ());\n\ + \val method: bstring * (Args.src -> Proof.context -> Proof.method) * string" "PureIsar.Method.add_method method" ("(" ^ quote name ^ ", " ^ txt ^ ", " ^ quote cmt ^ ")");