finish_proof: undefined promises may occur here;
authorwenzelm
Mon, 17 Nov 2008 23:34:35 +0100
changeset 28830 261bf00c6ede
parent 28829 c67ab5df760b
child 28831 23f4928bb7e3
finish_proof: undefined promises may occur here;
src/Pure/proofterm.ML
--- a/src/Pure/proofterm.ML	Mon Nov 17 23:17:13 2008 +0100
+++ b/src/Pure/proofterm.ML	Mon Nov 17 23:34:35 2008 +0100
@@ -1218,7 +1218,7 @@
     val tab = Inttab.make promises;
     fun fill (Promise (i, prop, Ts)) =
         (case Inttab.lookup tab i of
-          NONE => error ("finish_proof: undefined promise " ^ string_of_int i)
+          NONE => NONE
         | SOME p => SOME (instantiate (Term.add_tvars prop [] ~~ Ts, []) (Lazy.force p)))
       | fill _ = NONE;
     val (rules, procs) = get_data thy;