aboutsummaryrefslogtreecommitdiff
path: root/pretyping/glob_ops.ml
diff options
context:
space:
mode:
authorHugo Herbelin2020-04-27 14:39:56 +0200
committerHugo Herbelin2020-10-10 22:13:59 +0200
commit2cf0287c9c863d7969fb5d4e85b7ca538dd103c2 (patch)
tree0dfa98a20514443017dcd81d165cdcb494e5743f /pretyping/glob_ops.ml
parent03d55f990bb7a2c4f5c1fefa408b94a8a93e8d05 (diff)
Adding and using locations on identifiers in constr_expr where they were missing.
Diffstat (limited to 'pretyping/glob_ops.ml')
-rw-r--r--pretyping/glob_ops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/glob_ops.ml b/pretyping/glob_ops.ml
index 5bd26be823..fd6083abd1 100644
--- a/pretyping/glob_ops.ml
+++ b/pretyping/glob_ops.ml
@@ -128,7 +128,7 @@ let fix_kind_eq k1 k2 = match k1, k2 with
| (GFix _ | GCoFix _), _ -> false
let instance_eq f (x1,c1) (x2,c2) =
- Id.equal x1 x2 && f c1 c2
+ Id.equal x1.CAst.v x2.CAst.v && f c1 c2
let mk_glob_constr_eq f c1 c2 = match DAst.get c1, DAst.get c2 with
| GRef (gr1, u1), GRef (gr2, u2) ->