aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-31 20:38:52 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-04-05 16:37:02 +0200
commit63cfc77ddf3586262d905dc351b58669d185a55e (patch)
tree75d9aead40f1b9b13f3582fa8a186e6e2356e490 /test-suite
parent9f188da28f65341f5c5ecd0b3b4f9b447bbc2b15 (diff)
[toplevel] Remove exception error printer in favor of feedback printer.
We solve https://coq.inria.fr/bugs/show_bug.cgi?id=4789 by printing all the errors from the feedback handler, even in the case of coqtop. All error display is handled by a single, uniform path. There may be some minor discrepancies with 8.6 as we are uniform now whereas 8.6 tended to print errors in several ways, but our behavior is a subset of the 8.6 behavior. We had to make a choice for `-emacs` error output, which used to vary too. We have chosen to display error messages as: ``` (location info) option \n (program caret) option \n MARKER[254]Error: msgMARKER[255] ``` This commit also fixes: - https://coq.inria.fr/bugs/show_bug.cgi?id=5418 - https://coq.inria.fr/bugs/show_bug.cgi?id=5429
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/output/ErrorInModule.out1
-rw-r--r--test-suite/output/ErrorInSection.out1
-rw-r--r--test-suite/output/qualification.out1
3 files changed, 3 insertions, 0 deletions
diff --git a/test-suite/output/ErrorInModule.out b/test-suite/output/ErrorInModule.out
index 851ecd930..776dfeb55 100644
--- a/test-suite/output/ErrorInModule.out
+++ b/test-suite/output/ErrorInModule.out
@@ -1,2 +1,3 @@
File "stdin", line 3, characters 20-31:
Error: The reference nonexistent was not found in the current environment.
+
diff --git a/test-suite/output/ErrorInSection.out b/test-suite/output/ErrorInSection.out
index 851ecd930..776dfeb55 100644
--- a/test-suite/output/ErrorInSection.out
+++ b/test-suite/output/ErrorInSection.out
@@ -1,2 +1,3 @@
File "stdin", line 3, characters 20-31:
Error: The reference nonexistent was not found in the current environment.
+
diff --git a/test-suite/output/qualification.out b/test-suite/output/qualification.out
index 9300c3f54..e9c70d1ef 100644
--- a/test-suite/output/qualification.out
+++ b/test-suite/output/qualification.out
@@ -1,3 +1,4 @@
File "stdin", line 19, characters 0-7:
Error: Signature components for label test do not match: expected type
"Top.M2.t = Top.M2.M.t" but found type "Top.M2.t = Top.M2.t".
+