diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-08-10 19:20:42 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-08-10 19:20:42 +0000 |
commit | c468066951baafc1164261f58c61dd601619bcc8 (patch) | |
tree | 41715f20d6c35ba55a730070829272875bdabd47 /test-suite/output/Implicit.v | |
parent | 1d6ad11aa4916c4caa3d49da12a14e39b000b978 (diff) |
Fixing printing bug with last trailing non-maximally implicit
arguments needed for correct typing of partial applications (knowing
that in practice, users should anyway better declare such arguments as
maximally inserted).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14404 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/output/Implicit.v')
-rw-r--r-- | test-suite/output/Implicit.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/output/Implicit.v b/test-suite/output/Implicit.v index 4c6f2b5dd..d50c98765 100644 --- a/test-suite/output/Implicit.v +++ b/test-suite/output/Implicit.v @@ -18,6 +18,9 @@ Definition d2 x := d1 (y:=x). Print d2. +Set Strict Implicit. +Unset Implicit Arguments. + (* Check maximal insertion of implicit *) Require Import List. @@ -36,3 +39,15 @@ Definition id' (A:Type) (x:A) := x. Implicit Arguments id' [[A]]. Check map id' (1::nil). + +Unset Maximal Implicit Insertion. +Unset Implicit Arguments. + +(* Check explicit insertion of last non-maximal trailing implicit to ensure *) +(* correct arity of partiol applications *) + +Set Implicit Arguments. +Definition id'' (A:Type) (x:A) := x. + +Check map (@id'' nat) (1::nil). + |