From e892cdd483eca0c880f338f1e4fd7deecdfc5501 Mon Sep 17 00:00:00 2001 From: herbelin Date: Mon, 4 Oct 2010 12:03:52 +0000 Subject: Fixing bugs in previous commits about implicit arguments: - fixing r13483 (supposed dead code in impargs was actually half-living: implicit arguments mode should merge with the {...} manually given implicit arguments but not with the "Implicit Arguments [...]" arguments), - fixing code of drop_first_implicits in r13484. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13490 85f007b7-540e-0410-9357-904b9bb8a0f7 --- test-suite/success/implicit.v | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test-suite') diff --git a/test-suite/success/implicit.v b/test-suite/success/implicit.v index 0aa0ae02b0..b142ba7723 100644 --- a/test-suite/success/implicit.v +++ b/test-suite/success/implicit.v @@ -92,3 +92,10 @@ Fixpoint plus n m {struct n} := Implicit Arguments eq_refl [[A] [x]] [[A]]. Check eq_refl : 0 = 0. + +(* Check that notations preserve implicit (since 8.3) *) + +Parameter p : forall A, A -> forall n, n = 0 -> True. +Implicit Arguments p [A n]. +Notation Q := (p 0). +Check Q eq_refl. -- cgit v1.2.3