aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2004-02-03 17:35:49 +0000
committerherbelin2004-02-03 17:35:49 +0000
commitcc8d69d508c22bf3329cce55e94ca1244c8cd5fb (patch)
treecec6c2aa9d329c8b620cf8fbf812854faabf54bf
parent8dc0a335e0b599e62f337ae0de999f3c673432c7 (diff)
Relachement condition pour afficher @ en cas d'explicitation d'implicites
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5285 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--interp/constrextern.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/interp/constrextern.ml b/interp/constrextern.ml
index 933fd33cab..28ab30c057 100644
--- a/interp/constrextern.ml
+++ b/interp/constrextern.ml
@@ -1311,8 +1311,9 @@ let extern_app loc inctx impl (cf,f) args =
if args = [] (* maybe caused by a hidden coercion *) then
extern_global loc impl f
else
- if !Options.raw_print or
- (!print_implicits & not !print_implicits_explicit_args &
+ if
+ ((!Options.raw_print or
+ (!print_implicits & not !print_implicits_explicit_args)) &
List.exists is_status_implicit impl)
then
CAppExpl (loc, (is_projection (List.length args) cf, f), args)