result_error_default: include msg;
authorwenzelm
Wed, 12 Sep 2001 18:10:52 +0200
changeset 11562 804ee65ee1a1
parent 11561 6a95f3eaa54f
child 11563 e172cbed431d
result_error_default: include msg;
src/Pure/goals.ML
--- a/src/Pure/goals.ML	Tue Sep 11 15:36:16 2001 +0200
+++ b/src/Pure/goals.ML	Wed Sep 12 18:10:52 2001 +0200
@@ -132,7 +132,7 @@
   special applications.*)
 fun result_error_default state msg : thm =
   Pretty.str "Bad final proof state:" :: pretty_goals (!goals_limit) state @
-    [Pretty.str "Proof failed!"] |> Pretty.chunks |> Pretty.string_of |> error;
+    [Pretty.str msg, Pretty.str "Proof failed!"] |> Pretty.chunks |> Pretty.string_of |> error;
 
 val result_error_fn = ref result_error_default;