mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-19 00:15:39 +03:00
cleanup
This commit is contained in:
parent
d0ef61219f
commit
5f04e0efaf
@ -759,7 +759,7 @@ and translate_expr (ctx : context) (vc : typed expr) : context * Expr.expr =
|
||||
in
|
||||
ctx, Expr.mk_app ctx.ctx_z3 fd z3_args
|
||||
| EAbs { binder; _ } ->
|
||||
let vars, body = Bindlib.unmbind binder in
|
||||
let vars, _ = Bindlib.unmbind binder in
|
||||
if Array.length vars != 1 || List.length args != 1 then
|
||||
failwith "[Z3 encoding] EAbs not supported beyond let_in"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user