fix(library/compiler/eager_lambda_lifting): assertion violation

This commit is contained in:
Leonardo de Moura 2019-04-17 18:02:10 -07:00
parent c4dc338d7d
commit 4bbecf93ed

View file

@ -211,7 +211,7 @@ class eager_lambda_lifting_fn {
}
expr visit_terminal(expr const & e) {
expr t = find(e).second;
expr t = is_fvar(e) ? find(e).second : e;
if (is_constructor_app(env(), t)) {
buffer<expr> args;
get_app_args(e, args);