proper context for attribute simplified;
authorwenzelm
Thu, 29 May 2008 23:46:43 +0200
changeset 27021 4593b9f4ba42
parent 27020 b5b8afc9fdcd
child 27022 f8255a5dc3a8
proper context for attribute simplified;
src/Pure/simplifier.ML
--- a/src/Pure/simplifier.ML	Thu May 29 23:46:41 2008 +0200
+++ b/src/Pure/simplifier.ML	Thu May 29 23:46:43 2008 +0200
@@ -334,8 +334,9 @@
 in
 
 val simplified =
-  Attrib.syntax (conv_mode -- Attrib.thms >> (fn (f, ths) => Thm.rule_attribute (fn x =>
-    f ((if null ths then I else MetaSimplifier.clear_ss) (get_ss x) addsimps ths))));
+  Attrib.syntax (conv_mode -- Attrib.thms >> (fn (f, ths) => Thm.rule_attribute (fn context =>
+    f ((if null ths then I else MetaSimplifier.clear_ss)
+        (local_simpset_of (Context.proof_of context)) addsimps ths))));
 
 end;