diff options
| author | msozeau | 2008-10-23 22:09:08 +0000 |
|---|---|---|
| committer | msozeau | 2008-10-23 22:09:08 +0000 |
| commit | ff7e6f61796c9afbeb89cc9ab5c6eb459408dbf4 (patch) | |
| tree | 94c3b144b3398d734c3125651ba3872c3a19279c /theories | |
| parent | 0b840f7aaece0c209850adb2a81904b54f410091 (diff) | |
Fix bug #1977 by allowing the [apply] variants to take an [open_constr]
instead of a completely resolved [constr] as input. The propagation of the
evars associated to the lemma is only allowed when the evar flag is on
(i.e. for [eapply]), otherwise they should be resolved by the end of the
application. Should be completely backwards compatible...
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11497 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories')
| -rw-r--r-- | theories/Classes/Init.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/Classes/Init.v b/theories/Classes/Init.v index 0bd9f95dde..8b4cac5f4e 100644 --- a/theories/Classes/Init.v +++ b/theories/Classes/Init.v @@ -34,7 +34,7 @@ Class Unconvertible (A : Type) (a b : A). Ltac unconvertible := match goal with | |- @Unconvertible _ ?x ?y => conv x y ; fail 1 "Convertible" - | |- _ => apply Build_Unconvertible + | |- _ => eapply Build_Unconvertible end. Hint Extern 0 (@Unconvertible _ _ _) => unconvertible : typeclass_instances.
\ No newline at end of file |
