diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-07-13 16:44:41 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-07-13 16:58:37 +0200 |
commit | 45250332a1e65d434432940a468312f2ab18a2e8 (patch) | |
tree | ede20d574b6ba112db5b37c15d56ad4a255ca819 /test-suite/output | |
parent | 3f9215b2b65b902cc52fd540f57f67342401a91f (diff) | |
parent | 65ba1b36df33a74998240a02fecc1fb80c3eeeee (diff) |
Merge branch 'v8.5' into v8.6
Diffstat (limited to 'test-suite/output')
-rw-r--r-- | test-suite/output/Errors.out | 3 | ||||
-rw-r--r-- | test-suite/output/Errors.v | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/output/Errors.out b/test-suite/output/Errors.out index 6354ad469..62e9ef4b2 100644 --- a/test-suite/output/Errors.out +++ b/test-suite/output/Errors.out @@ -5,3 +5,6 @@ Unable to unify "nat" with "True". The command has indeed failed with message: In nested Ltac calls to "f" and "apply x", last call failed. Unable to unify "nat" with "True". +The command has indeed failed with message: +Ltac call to "instantiate" failed. +Error: Instance is not well-typed in the environment of ?x. diff --git a/test-suite/output/Errors.v b/test-suite/output/Errors.v index 352c87385..424d24801 100644 --- a/test-suite/output/Errors.v +++ b/test-suite/output/Errors.v @@ -16,3 +16,12 @@ Goal True. Fail simpl; apply 0. Fail simpl; f 0. Abort. + +(* Test instantiate error messages *) + +Goal forall T1 (P1 : T1 -> Type), sigT P1 -> sigT P1. +intros T1 P1 H1. +eexists ?[x]. +destruct H1 as [x1 H1]. +Fail instantiate (x:=projT1 x1). +Abort. |