diff options
| author | Enrico Tassi | 2016-02-02 09:49:15 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2016-02-02 09:49:15 +0100 |
| commit | 4bf8b2d6fd77035e9c6317920539b609df71ca81 (patch) | |
| tree | da7e19d940f49e52758feb7609dbce56f3d1f161 /mathcomp/ssreflect/plugin/trunk | |
| parent | 371abe046a33c2728275dbe1e3d8dc721aa4dd94 (diff) | |
Do not hide critical errors with a blind catch all (fix #19)
Diffstat (limited to 'mathcomp/ssreflect/plugin/trunk')
| -rw-r--r-- | mathcomp/ssreflect/plugin/trunk/ssrmatching.ml4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/plugin/trunk/ssrmatching.ml4 b/mathcomp/ssreflect/plugin/trunk/ssrmatching.ml4 index 291315c..dbc7f8b 100644 --- a/mathcomp/ssreflect/plugin/trunk/ssrmatching.ml4 +++ b/mathcomp/ssreflect/plugin/trunk/ssrmatching.ml4 @@ -659,7 +659,7 @@ let match_upats_HO ~on_instance upats env sigma0 ise c = | Pretype_errors.PretypeError (_,_,Pretype_errors.UnsatisfiableConstraints _) -> failed_because_of_TC:=true - | _ -> () in + | e when Errors.noncritical e -> () in List.iter one_match fpats done; iter_constr_LR (aux upats env sigma0 ise) f; |
