diff options
| author | Gaëtan Gilbert | 2020-07-07 12:45:12 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2020-07-07 12:47:53 +0200 |
| commit | 1bc0b150857faad474b691b1cfb24e9a99f21395 (patch) | |
| tree | 4764abb8833dd2c9e37fd330a3c8bb90c93f39e4 /test-suite | |
| parent | 8907a5b7d2b91bff0b573956a05e4679b5238161 (diff) | |
Fix erroneous implicits-in-term warning
Fix #12651
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_12651.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_12651.v b/test-suite/bugs/closed/bug_12651.v new file mode 100644 index 0000000000..cdeeb84912 --- /dev/null +++ b/test-suite/bugs/closed/bug_12651.v @@ -0,0 +1,6 @@ + +Set Warnings "+implicits-in-term". +Definition thing1 : forall {A}, A -> A := fun A a => a. +Check thing1 : _ -> _. +Fail Definition thing2 : forall {A}, A -> A := fun [A] a => a. +Fail Definition thing2 : forall A, A -> A := fun {A} a => a. |
