aboutsummaryrefslogtreecommitdiff
path: root/pretyping/miscops.ml
diff options
context:
space:
mode:
authorMatthieu Sozeau2014-09-08 10:23:12 +0200
committerMatthieu Sozeau2014-09-08 17:09:43 +0200
commit26a79004e47bbdc97df61015ce7e944eef14ac71 (patch)
tree1f24c9acbb73cd63dcc689222b965f245767137e /pretyping/miscops.ml
parent89ad50f4d7e1312539995ced3a632821bf6af7c5 (diff)
Parsing of Type@{max(i,j)}.
Diffstat (limited to 'pretyping/miscops.ml')
-rw-r--r--pretyping/miscops.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/pretyping/miscops.ml b/pretyping/miscops.ml
index ab01065b19..5b5bbe095b 100644
--- a/pretyping/miscops.ml
+++ b/pretyping/miscops.ml
@@ -28,6 +28,5 @@ let smartmap_cast_type f c =
let glob_sort_eq g1 g2 = match g1, g2 with
| GProp, GProp -> true
| GSet, GSet -> true
-| GType None, GType None -> true
-| GType (Some s1), GType (Some s2) -> CString.equal s1 s2
+| GType l1, GType l2 -> List.for_all2 CString.equal l1 l2
| _ -> false