diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-12-05 12:56:11 +0100 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-12-05 12:56:11 +0100 |
commit | 2c5e81e3bc6ec17d253aeedd1b2bf4ccd3b81933 (patch) | |
tree | 1e8d3db28d8d19b575e9e555f6ce379960c842c1 /pretyping/miscops.ml | |
parent | d403b2200ef32afd1eb1087a1f0ef2e6b8bb93f6 (diff) | |
parent | 17b620f8bdf47a744d24513dcaef720d9160d443 (diff) |
Merge PR #890: Global universe declarations
Diffstat (limited to 'pretyping/miscops.ml')
-rw-r--r-- | pretyping/miscops.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/miscops.ml b/pretyping/miscops.ml index bc563b46d..f0cb8fd1f 100644 --- a/pretyping/miscops.ml +++ b/pretyping/miscops.ml @@ -30,7 +30,8 @@ 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.equal (fun x y -> Names.Name.equal (snd x) (snd y)) l1 l2 +| GType l1, GType l2 -> + List.equal (Option.equal (fun (x,m) (y,n) -> Libnames.eq_reference x y && Int.equal m n)) l1 l2 | _ -> false let intro_pattern_naming_eq nam1 nam2 = match nam1, nam2 with |