aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/output
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-10-11 14:36:29 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-10-11 15:21:33 +0200
commite9995f6e9f9523d4738d9ee494703b6f96bf995d (patch)
treece5297379247c6af9e6c16ba45b5b7e479b96d3c /test-suite/output
parentae5305a4837cce3c7fd61b92ce8110ac66ec2750 (diff)
Fixing untimely unexpected warning "Collision between bound variables" (#4317).
Collecting the bound variables is now done on the glob_constr, before interpretation, so that only variables given explicitly by the user are used for binding bound variables.
Diffstat (limited to 'test-suite/output')
-rw-r--r--test-suite/output/ltac.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/output/ltac.v b/test-suite/output/ltac.v
index 567e21edb..9a60afe5f 100644
--- a/test-suite/output/ltac.v
+++ b/test-suite/output/ltac.v
@@ -6,3 +6,12 @@ Fail let T := constr:((fun a b : nat => a+b) 1 1) in
=> pose ((fun x _ => y) 1 1)
end.
Abort.
+
+(* This should not raise a warning (see #4317) *)
+Goal True.
+assert (H:= eq_refl ((fun x => x) 1)).
+let HT := type of H in
+lazymatch goal with
+| H1 : HT |- _ => idtac "matched"
+end.
+Abort.