Bugfix: equality
This commit is contained in:
parent
2c5f1f0e2b
commit
424a0b0ba7
@ -230,7 +230,7 @@ module Substitution = struct
|
|||||||
| P_forall p -> (
|
| P_forall p -> (
|
||||||
let aux c = constraint_ ~c ~substs in
|
let aux c = constraint_ ~c ~substs in
|
||||||
let constraints = List.map aux p.constraints in
|
let constraints = List.map aux p.constraints in
|
||||||
if (p.binder = v) then (
|
if (Var.equal p.binder v) then (
|
||||||
{ tsrc = "?TODO3?" ; t = P_forall { p with constraints } }
|
{ tsrc = "?TODO3?" ; t = P_forall { p with constraints } }
|
||||||
) else (
|
) else (
|
||||||
let body = self p.body in
|
let body = self p.body in
|
||||||
|
Loading…
Reference in New Issue
Block a user