diff options
author | gareuselesinge <gareuselesinge@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-07-29 13:56:09 +0000 |
---|---|---|
committer | gareuselesinge <gareuselesinge@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-07-29 13:56:09 +0000 |
commit | 30f0ac30c21d53588b6ff6143c76560b3d1437d8 (patch) | |
tree | b689b9a2a36e91fff804be39f86c0289764c1886 /test-suite | |
parent | 5b012a717082f443a383b081eb5df5a3ee45be31 (diff) |
better error message for unexpected renaming (closes #2987)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16641 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/output/Arguments_renaming.out | 5 | ||||
-rw-r--r-- | test-suite/output/Arguments_renaming.v | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test-suite/output/Arguments_renaming.out b/test-suite/output/Arguments_renaming.out index 20042a5ed..bdf0a0cf8 100644 --- a/test-suite/output/Arguments_renaming.out +++ b/test-suite/output/Arguments_renaming.out @@ -1,7 +1,9 @@ The command has indeed failed with message: => Error: To rename arguments the "rename" flag must be specified. +Argument A renamed to B The command has indeed failed with message: => Error: To rename arguments the "rename" flag must be specified. +Argument A renamed to T @eq_refl : forall (B : Type) (y : B), y = y eq_refl @@ -106,3 +108,6 @@ The command has indeed failed with message: => Error: Argument z cannot be declared implicit. The command has indeed failed with message: => Error: Extra argument y. +The command has indeed failed with message: +=> Error: To rename arguments the "rename" flag must be specified. +Argument A renamed to R diff --git a/test-suite/output/Arguments_renaming.v b/test-suite/output/Arguments_renaming.v index b133e7335..e68fbd69f 100644 --- a/test-suite/output/Arguments_renaming.v +++ b/test-suite/output/Arguments_renaming.v @@ -50,5 +50,5 @@ Fail Arguments eq_refl {F}, [F]. Fail Arguments eq_refl {F F}, [F] F. Fail Arguments eq {F} x [z]. Fail Arguments eq {F} x z y. - +Fail Arguments eq {R} s t. |