aboutsummaryrefslogtreecommitdiff
path: root/interp/constrexpr_ops.ml
diff options
context:
space:
mode:
authorHugo Herbelin2020-09-27 10:48:29 +0200
committerHugo Herbelin2020-10-10 22:13:59 +0200
commitb7c9ba2c678228593450ecdf272ff71facbc6a6e (patch)
treec652e8bd90a7281089ce5c9686892220ddf9ca6d /interp/constrexpr_ops.ml
parent2cf0287c9c863d7969fb5d4e85b7ca538dd103c2 (diff)
Add location in existential variable names (CEvar/GEvar).
Diffstat (limited to 'interp/constrexpr_ops.ml')
-rw-r--r--interp/constrexpr_ops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/constrexpr_ops.ml b/interp/constrexpr_ops.ml
index 3400485ad5..7075d082ee 100644
--- a/interp/constrexpr_ops.ml
+++ b/interp/constrexpr_ops.ml
@@ -156,7 +156,7 @@ let rec constr_expr_eq e1 e2 =
| CPatVar i1, CPatVar i2 ->
Id.equal i1 i2
| CEvar (id1, c1), CEvar (id2, c2) ->
- Id.equal id1 id2 && List.equal instance_eq c1 c2
+ Id.equal id1.CAst.v id2.CAst.v && List.equal instance_eq c1 c2
| CSort s1, CSort s2 ->
Glob_ops.glob_sort_eq s1 s2
| CCast(t1,c1), CCast(t2,c2) ->