diff options
| author | msozeau | 2012-07-11 13:20:21 +0000 |
|---|---|---|
| committer | msozeau | 2012-07-11 13:20:21 +0000 |
| commit | f13b87b5b1a2f5d35b1be51d25d0891a2db08b95 (patch) | |
| tree | dfba0885a07db05d801bf38331a4f8ad80734259 /tactics | |
| parent | c8178de691719df315482528cf8e70d0eac1383e (diff) | |
Fix typeclass error handling which was sometimes raising a Failure ("hd").
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15593 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/rewrite.ml4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tactics/rewrite.ml4 b/tactics/rewrite.ml4 index 6575bbfe1f..3cd02f5444 100644 --- a/tactics/rewrite.ml4 +++ b/tactics/rewrite.ml4 @@ -1222,9 +1222,9 @@ let cl_rewrite_clause_tac ?abs strat meta clause gl = with | Loc.Exc_located (_, TypeClassError (env, (UnsatisfiableConstraints _ as e))) | TypeClassError (env, (UnsatisfiableConstraints _ as e)) -> - Refiner.tclFAIL_lazy 0 - (lazy (str"Unable to satisfy the rewriting constraints." - ++ fnl () ++ Himsg.explain_typeclass_error env e)) + Refiner.tclFAIL 0 + (str"Unable to satisfy the rewriting constraints." + ++ fnl () ++ Himsg.explain_typeclass_error env e) in tac gl open Goal |
