aboutsummaryrefslogtreecommitdiff
path: root/pretyping/pretyping.ml
diff options
context:
space:
mode:
authormsozeau2010-08-02 21:14:19 +0000
committermsozeau2010-08-02 21:14:19 +0000
commitaab16ea645fefd71b6bd0fdb155a076640ab0d4e (patch)
tree3ed018277f794418597f53b40de974f7c41bbb6e /pretyping/pretyping.ml
parent799afff6971ffe639c764dd88b54cad288f65bc2 (diff)
Fix [clenv_missing] to compute a better approximation of missing
dependent arguments. It breaks compatibility as some [apply with] clauses are not necessary anymore. Typically when applying [f_equal], the domain type of the function can be infered even if it does not appear directly in the conclusion of the goal. Fixes bug #2154. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13367 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/pretyping.ml')
-rw-r--r--pretyping/pretyping.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pretyping/pretyping.ml b/pretyping/pretyping.ml
index dfd92f0c17..8898e5989a 100644
--- a/pretyping/pretyping.ml
+++ b/pretyping/pretyping.ml
@@ -717,6 +717,7 @@ module Pretyping_F (Coercion : Coercion.S) = struct
let understand_judgment_tcc evdref env c =
let j = pretype empty_tycon env evdref ([],[]) c in
+ evdref := Typeclasses.resolve_typeclasses ~onlyargs:true ~split:true ~fail:false env !evdref;
j_nf_evar !evdref j
(* Raw calls to the unsafe inference machine: boolean says if we must