diff options
| author | Emilio Jesus Gallego Arias | 2020-07-08 12:30:59 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2020-07-08 12:30:59 +0200 |
| commit | 5331a010acbb71131bc5dc1c62cc08d9814de21b (patch) | |
| tree | ff931b30af7108ff4b8763d0eabf804418e7ad2a /test-suite | |
| parent | 827425e57f9ecb9bbff3132bdaa504e710c8cf2b (diff) | |
| parent | 1bc0b150857faad474b691b1cfb24e9a99f21395 (diff) | |
Merge PR #12652: Fix erroneous implicits-in-term warning
Reviewed-by: ejgallego
Reviewed-by: herbelin
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. |
