aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2017-12-18 17:53:39 +0100
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-03-05 13:30:48 +0100
commitdc2dfc86d4e35c0fcb564709dc24c5f2c0135b2a (patch)
tree89a03c04f2bdcf6d6234806a72d6fae20b42c3e7 /test-suite/bugs
parent78551857a41a57607ecfb3fd010e0a9755f47cea (diff)
Sanitize universe declaration in Context (stop using a ref...)
When there is more than one variable to declare we stop trying to attach global universes (ie monomorphic or section polymorphic) to one of them.
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/2245.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/2245.v b/test-suite/bugs/closed/2245.v
new file mode 100644
index 000000000..f0162f3b2
--- /dev/null
+++ b/test-suite/bugs/closed/2245.v
@@ -0,0 +1,11 @@
+Module Type Test.
+
+Section Sec.
+Variables (A:Type).
+Context (B:Type).
+End Sec.
+
+Fail Check B. (* used to be found !!! *)
+Fail Check A.
+
+End Test.