diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-11-04 18:14:38 +0100 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-11-04 19:24:01 +0100 |
commit | c71e69a9be2094061e041d60614b090c8381f0b7 (patch) | |
tree | f2a0a62a3c53102b8c222da494ee168bd610dc8a /library/globnames.ml | |
parent | f281a8a88e8fc7c41cc5680db2443d9da33b47b7 (diff) |
[api] Deprecate all legacy uses of Name.Id in core.
This is a first step towards some of the solutions proposed in #6008.
Diffstat (limited to 'library/globnames.ml')
-rw-r--r-- | library/globnames.ml | 2 |
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 |