aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-09-08 02:32:54 +0200
committerPierre-Marie Pédrot2017-09-08 02:32:54 +0200
commit2b66bf0083fd85cf2fc983dbca75b848194f897f (patch)
treeec28528453f9a4719529406b3c186a8eb30dd093
parent9820b2c72cbf2da61cf44456334b38683799fd58 (diff)
Fix coq/ltac2#27: ... is not a particularly helpful printing of an error message.
-rw-r--r--src/tac2print.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tac2print.ml b/src/tac2print.ml
index fd1d759cce..ee45b33706 100644
--- a/src/tac2print.ml
+++ b/src/tac2print.ml
@@ -412,6 +412,7 @@ let () = register_init "message" begin fun pp ->
end
let () = register_init "err" begin fun e ->
- let (e, _) = to_ext val_exn e in
+ let e = to_ext val_exn e in
+ let (e, _) = ExplainErr.process_vernac_interp_error ~allow_uncaught:true e in
str "err:(" ++ CErrors.print_no_report e ++ str ")"
end