aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/plugin/v8.4
diff options
context:
space:
mode:
Diffstat (limited to 'mathcomp/ssreflect/plugin/v8.4')
-rw-r--r--mathcomp/ssreflect/plugin/v8.4/ssrmatching.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/plugin/v8.4/ssrmatching.ml4 b/mathcomp/ssreflect/plugin/v8.4/ssrmatching.ml4
index b21de4d..3686b0a 100644
--- a/mathcomp/ssreflect/plugin/v8.4/ssrmatching.ml4
+++ b/mathcomp/ssreflect/plugin/v8.4/ssrmatching.ml4
@@ -624,7 +624,7 @@ let match_upats_HO 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;