aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/5641.v
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-07-11 15:26:44 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-07-11 15:35:11 +0200
commitc401fc96c3271746448600ca097876bd139b10e9 (patch)
treed3893c0d5011bac1b88ea58263ff8b4fee86fbbf /test-suite/bugs/closed/5641.v
parent8cd0413c0bd79256b59ffbbfd97d61af86f5cc25 (diff)
Fix nonsensical universe abstraction in the kernel.
The function turning a side-effect declaration into the corresponding entry was crazily wrong, as it used a named universe context quantifying over DeBruijn universe indices. Declaring such entries resulted in random anomalies. This fixes bug #5641.
Diffstat (limited to 'test-suite/bugs/closed/5641.v')
-rw-r--r--test-suite/bugs/closed/5641.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5641.v b/test-suite/bugs/closed/5641.v
new file mode 100644
index 000000000..9f3246f33
--- /dev/null
+++ b/test-suite/bugs/closed/5641.v
@@ -0,0 +1,6 @@
+Set Universe Polymorphism.
+
+Definition foo@{i j} (A : Type@{i}) : Type@{j}.
+Proof.
+abstract (exact ltac:(abstract (exact A))).
+Defined.