diff options
| author | herbelin | 2011-12-16 15:09:07 +0000 |
|---|---|---|
| committer | herbelin | 2011-12-16 15:09:07 +0000 |
| commit | 6c21af13a66a8fd829979476205e32df9e8c0f49 (patch) | |
| tree | 9f3634f39cbeeefff29877db39a353b63c598bc5 /tactics | |
| parent | ec60cad947dc4267f0545626b4ec7145f19f3ee3 (diff) | |
Introducing a notion of evar candidates to be used when an evar is
known in advance to be instantiable by only a finite number of terms.
When an evar with candidates remain unsolved after unification, the
first candidate is taken as a heuristic.
This is used in particular to reduce the number of pending conversion
problems when trying to infer the return clause of a pattern-matching
problem. As an example, this repairs test 2615.v.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14797 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/class_tactics.ml4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/class_tactics.ml4 b/tactics/class_tactics.ml4 index 82b4267759..e219bbff09 100644 --- a/tactics/class_tactics.ml4 +++ b/tactics/class_tactics.ml4 @@ -542,7 +542,7 @@ let evar_dependencies evm p = evm () let resolve_one_typeclass env ?(sigma=Evd.empty) gl = - let nc, gl, subst = Evarutil.push_rel_context_to_named_context env gl in + let nc, gl, subst, _ = Evarutil.push_rel_context_to_named_context env gl in let (gl,t,sigma) = Goal.V82.mk_goal sigma nc gl Store.empty in let gls = { it = gl ; sigma = sigma } in |
