aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-09-30 12:50:37 +0200
committerGaëtan Gilbert2020-10-06 12:40:35 +0200
commit07b7bd7f8358d199b0464a673aec50dedae0a45d (patch)
treed3027890b209f842fc9b0321ceea664399a9467c /test-suite
parent661d84228fa1a6750b4a80f41c3e012e6de763bf (diff)
Implicit_quantifiers don't use precomputed is_class data
Fix #13117 We alternatively could fix the generation of the data with Existing Class but I prefer moving towards removing it.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_13117.v23
1 files changed, 23 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13117.v b/test-suite/bugs/closed/bug_13117.v
new file mode 100644
index 0000000000..5db3f9fadc
--- /dev/null
+++ b/test-suite/bugs/closed/bug_13117.v
@@ -0,0 +1,23 @@
+
+Class A := {}.
+
+Class B (x:A) := {}.
+Class B' (a:=A) (x:a) := {}.
+
+Fail Definition foo a `{B a} := 0.
+Definition foo a `{B' a} := 0.
+
+Record C (x:A) := {}.
+Existing Class C.
+
+Fail Definition bar a `{C a} := 0.
+
+
+Definition X := Type.
+
+Class Y (x:X) := {}.
+
+Definition before `{Y Set} := 0.
+
+Existing Class X.
+Fail Definition after `{Y Set} := 0.