aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/globnames.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-11-06 22:52:20 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-11-06 22:52:20 +0100
commit0d81e80a09db7d352408be4dfc5ba263f6ed98ef (patch)
tree2754ab2c5b6fb039b02fbe096940b112039f4e50 /library/globnames.ml
parente029cf5b417b22ebc65a8193469bbbe450f725ce (diff)
parentc71e69a9be2094061e041d60614b090c8381f0b7 (diff)
Merge PR #6064: [api] Deprecate all legacy uses of Name.Id in core.
Diffstat (limited to 'library/globnames.ml')
-rw-r--r--library/globnames.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/globnames.ml b/library/globnames.ml
index dc9541a0d..5c75994dd 100644
--- a/library/globnames.ml
+++ b/library/globnames.ml
@@ -84,7 +84,7 @@ let is_global c t =
| ConstRef c, Const (c', _) -> eq_constant c c'
| IndRef i, Ind (i', _) -> eq_ind i i'
| ConstructRef i, Construct (i', _) -> eq_constructor i i'
- | VarRef id, Var id' -> id_eq id id'
+ | VarRef id, Var id' -> Id.equal id id'
| _ -> false
let printable_constr_of_global = function