tuned error msg;
authorwenzelm
Tue, 18 Oct 2005 17:59:36 +0200
changeset 17903 4d7fe1816ab1
parent 17902 7b35ce796a4d
child 17904 21c6894b5998
tuned error msg;
src/Pure/Isar/proof.ML
--- a/src/Pure/Isar/proof.ML	Tue Oct 18 17:59:35 2005 +0200
+++ b/src/Pure/Isar/proof.ML	Tue Oct 18 17:59:36 2005 +0200
@@ -485,7 +485,7 @@
     conditional (not (null bad_hyps)) (fn () => err ("Additional hypotheses:\n" ^
         cat_lines (map (ProofContext.string_of_term ctxt) bad_hyps)));
     conditional (exists (not o Pattern.matches thy) (props ~~ map Thm.prop_of ths)) (fn () =>
-      err ("Proved a different theorem: " ^ Pretty.string_of (ProofContext.pretty_thm ctxt th)));
+      err ("Proved a different theorem:\n" ^ ProofContext.string_of_thm ctxt th));
     ths
   end;