From 1bc0b150857faad474b691b1cfb24e9a99f21395 Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Tue, 7 Jul 2020 12:45:12 +0200 Subject: Fix erroneous implicits-in-term warning Fix #12651 --- test-suite/bugs/closed/bug_12651.v | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test-suite/bugs/closed/bug_12651.v (limited to 'test-suite') 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. -- cgit v1.2.3