src/Pure/simplifier.ML
changeset 61841 4d3527b94f2a
parent 61268 abe08fb15a12
child 61853 fb7756087101
--- a/src/Pure/simplifier.ML	Sat Dec 12 15:37:42 2015 +0100
+++ b/src/Pure/simplifier.ML	Sun Dec 13 21:56:15 2015 +0100
@@ -370,12 +370,12 @@
 fun method_setup more_mods =
   Method.setup @{binding simp}
     (simp_method more_mods (fn ctxt => fn tac => fn facts =>
-      HEADGOAL (Method.insert_tac facts THEN'
+      HEADGOAL (Method.insert_tac ctxt facts THEN'
         (CHANGED_PROP oo tac) ctxt)))
     "simplification" #>
   Method.setup @{binding simp_all}
     (simp_method more_mods (fn ctxt => fn tac => fn facts =>
-      ALLGOALS (Method.insert_tac facts) THEN
+      ALLGOALS (Method.insert_tac ctxt facts) THEN
         (CHANGED_PROP o PARALLEL_ALLGOALS o tac) ctxt))
     "simplification (all goals)";