diff options
author | 2010-10-05 10:08:55 +0000 | |
---|---|---|
committer | 2010-10-05 10:08:55 +0000 | |
commit | b9dc2402758713bc9933c4561d053627086d70c9 (patch) | |
tree | 6645e76406a095845f306b1b0afc3ca91775befe /test-suite/success | |
parent | aeb1ef32feac2aff81715cc4755b705743fb4f1e (diff) |
Export definition of type implicits_list for contribs + fixed a
discharge bug of implicit arguments related to commit 13484 (multiple
implicit arguments sequences patch).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13500 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/success')
-rw-r--r-- | test-suite/success/implicit.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/success/implicit.v b/test-suite/success/implicit.v index b142ba772..ce3e692f4 100644 --- a/test-suite/success/implicit.v +++ b/test-suite/success/implicit.v @@ -99,3 +99,11 @@ Parameter p : forall A, A -> forall n, n = 0 -> True. Implicit Arguments p [A n]. Notation Q := (p 0). Check Q eq_refl. + +(* Check implicits with Context *) + +Section C. +Context {A:Set}. +Definition h (a:A) := a. +End C. +Check h 0. |