diff options
| author | Matthieu Sozeau | 2017-05-16 16:26:43 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2017-05-16 16:29:39 +0200 |
| commit | 72a2f5354c062247b3f35cf2cd29856e96e45824 (patch) | |
| tree | c33afd38c1de785f6ba7d29c67ae172913d414ed /tactics/auto.ml | |
| parent | 9f8220164703aee47c6c6d7dba07caabf7555c1c (diff) | |
Fix bug #5360: anomalies in typeclass resolution output
Now we properly report NoApplicableEx/ReachedLimit and CannotUnify
exceptions that can be raised during resolution.
Diffstat (limited to 'tactics/auto.ml')
| -rw-r--r-- | tactics/auto.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml index c2d12ebd08..2f55d8e65d 100644 --- a/tactics/auto.ml +++ b/tactics/auto.ml @@ -139,7 +139,7 @@ let conclPattern concl pat tac = try Proofview.tclUNIT (Constr_matching.matches env sigma pat concl) with Constr_matching.PatternMatchingFailure -> - Tacticals.New.tclZEROMSG (str "conclPattern") + Tacticals.New.tclZEROMSG (str "pattern-matching failed") in Proofview.Goal.enter { enter = begin fun gl -> let env = Proofview.Goal.env gl in |
