aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/refman/RefMan-ext.tex15
-rw-r--r--interp/constrintern.ml1
2 files changed, 15 insertions, 1 deletions
diff --git a/doc/refman/RefMan-ext.tex b/doc/refman/RefMan-ext.tex
index 2da5bec186..0cfdbe17b9 100644
--- a/doc/refman/RefMan-ext.tex
+++ b/doc/refman/RefMan-ext.tex
@@ -1557,8 +1557,23 @@ but succeeds in
Check Prop = nat.
\end{coq_example*}
+\subsection{Deactivation of implicit arguments for parsing}
+\comindex{Set Parsing Explicit}
+\comindex{Unset Parsing Explicit}
+Use of implicit arguments can be deactivated by issuing the command:
+\begin{quote}
+{\tt Set Parsing Explicit.}
+\end{quote}
+In this case, all arguments of constants, inductive types,
+constructors, etc, including the arguments declared as implicit, have
+to be given as if none arguments were implicit. By symmetry, this also
+affects printing. To restore parsing and normal printing of implicit
+arguments, use:
+\begin{quote}
+{\tt Set Parsing Explicit.}
+\end{quote}
\subsection{Canonical structures
\comindex{Canonical Structure}}
diff --git a/interp/constrintern.ml b/interp/constrintern.ml
index f36d56b83f..12376eb89d 100644
--- a/interp/constrintern.ml
+++ b/interp/constrintern.ml
@@ -1217,7 +1217,6 @@ let internalize sigma globalenv env allow_patvar lvar c =
| CRef ref as x ->
let (c,imp,subscopes,l),_ =
intern_applied_reference intern env (Environ.named_context globalenv) lvar [] ref in
- assert (l=[]);
(match intern_impargs c env imp subscopes l with
| [] -> c
| l -> GApp (constr_loc x, c, l))