Repair the 'explain' plugin

This commit is contained in:
Louis Gesbert 2024-03-05 10:07:25 +01:00
parent db508a006a
commit 8b3d7fb64b

View File

@ -794,7 +794,7 @@ let reverse_graph g =
let subst_by v1 e2 e =
let rec f = function
| EVar v, m when Var.equal v v1 -> Expr.box e2
| e -> Expr.map ~f e
| e -> Expr.map ~f ~op:Fun.id e
in
Expr.unbox (f e)