aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/plugin/v8.5
diff options
context:
space:
mode:
Diffstat (limited to 'mathcomp/ssreflect/plugin/v8.5')
-rw-r--r--mathcomp/ssreflect/plugin/v8.5/ssrmatching.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/plugin/v8.5/ssrmatching.ml4 b/mathcomp/ssreflect/plugin/v8.5/ssrmatching.ml4
index 9599ff9..0187a12 100644
--- a/mathcomp/ssreflect/plugin/v8.5/ssrmatching.ml4
+++ b/mathcomp/ssreflect/plugin/v8.5/ssrmatching.ml4
@@ -658,7 +658,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;