aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-07-21 11:03:55 +0200
committerPierre-Marie Pédrot2015-07-21 11:03:55 +0200
commit3d5b210d4148e1edb9f7a02c888decf9cc6c30e6 (patch)
treeaf12855b47cbb1ff421aca14f526656ac10d110b
parentfdd6a17b272995237c9f95fc465bb1ff6871bedc (diff)
Fixing bug #4303: Anomaly: Uncaught exception Invalid_argument.
-rw-r--r--pretyping/miscops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/miscops.ml b/pretyping/miscops.ml
index a2c97d2cb1..0926e7a299 100644
--- a/pretyping/miscops.ml
+++ b/pretyping/miscops.ml
@@ -30,7 +30,7 @@ let smartmap_cast_type f c =
let glob_sort_eq g1 g2 = match g1, g2 with
| GProp, GProp -> true
| GSet, GSet -> true
-| GType l1, GType l2 -> List.for_all2 CString.equal l1 l2
+| GType l1, GType l2 -> List.equal CString.equal l1 l2
| _ -> false
let intro_pattern_naming_eq nam1 nam2 = match nam1, nam2 with