src/HOL/Tools/Sledgehammer/sledgehammer_isar_try0.ML
changeset 55264 43473497fb65
parent 55260 ada3ae6458d4
child 55266 d9d31354834e
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_isar_try0.ML	Mon Feb 03 10:14:18 2014 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_isar_try0.ML	Mon Feb 03 10:14:18 2014 +0100
@@ -45,8 +45,11 @@
       (* FIXME: create variant after success *)
       (case Par_List.get_some try_method meths of
         SOME (meth', outcome) =>
-        (set_preplay_outcomes_of_isar_step preplay_data l [(meth', Lazy.value outcome)];
-         step_with_method meth' step)
+        let val step' = step_with_method meth' step in
+          (set_preplay_outcomes_of_isar_step ctxt timeout preplay_data step'
+             [(meth', Lazy.value outcome)];
+           step')
+        end
       | NONE => step)
     end