aboutsummaryrefslogtreecommitdiff
path: root/theories/Compat/Coq84.v
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-08-31 11:32:28 +0200
committerPierre-Marie Pédrot2016-08-31 11:45:41 +0200
commit12268bef28dea57fdbe29dc87d26ef453ad5cfed (patch)
tree9c4088cd2c3d966bd5769522e21eb173de885468 /theories/Compat/Coq84.v
parent3da141c5dfed50e1b9a4ad5421b4abacdcc23dae (diff)
Fix bug #5043: [Admitted] lemmas pick up section variables.
We add a flag Keep Admitted Variables that allows to recover the legacy v8.4 behaviour of admitted lemmas. The statement of such lemmas did not depend on the current context variables.
Diffstat (limited to 'theories/Compat/Coq84.v')
-rw-r--r--theories/Compat/Coq84.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/theories/Compat/Coq84.v b/theories/Compat/Coq84.v
index c157c5e85d..4f6118902f 100644
--- a/theories/Compat/Coq84.v
+++ b/theories/Compat/Coq84.v
@@ -72,3 +72,7 @@ Require Coq.Lists.List.
Require Coq.Vectors.VectorDef.
Notation " [ x ; .. ; y ] " := (cons x .. (cons y nil) ..) : list_scope.
Notation " [ x ; .. ; y ] " := (VectorDef.cons _ x _ .. (VectorDef.cons _ y _ (nil _)) ..) : vector_scope.
+
+(** In 8.4, the statement of admitted lemmas did not depend on the section
+ variables. *)
+Unset Keep Admitted Variables.