no handle ERROR;
authorwenzelm
Thu, 15 Nov 2001 18:18:17 +0100
changeset 12206 60d52181840c
parent 12205 f3545bd6669b
child 12207 4dff931b852f
no handle ERROR;
src/ZF/arith_data.ML
--- a/src/ZF/arith_data.ML	Thu Nov 15 18:16:17 2001 +0100
+++ b/src/ZF/arith_data.ML	Thu Nov 15 18:18:17 2001 +0100
@@ -75,8 +75,8 @@
       val goal = Logic.list_implies (map (#prop o Thm.rep_thm) hyps',
         FOLogic.mk_Trueprop (mk_eq_iff (t, u)));
   in Some (hyps' MRS Tactic.prove sg [] [] goal (K (EVERY tacs)))
-      handle ERROR => 
-	(warning ("Cancellation failed: no typing information? (" ^ name ^ ")"); None)
+      handle ERROR_MESSAGE msg => 
+	(warning (msg ^ "\nCancellation failed: no typing information? (" ^ name ^ ")"); None)
   end;
 
 fun prep_simproc (name, pats, proc) = Simplifier.mk_simproc name pats proc;