fix(library/compiler/llnf): include closures at is_unboxed
This commit is contained in:
parent
3cf5241208
commit
65e7e785ff
1 changed files with 1 additions and 1 deletions
|
|
@ -957,7 +957,7 @@ static name mk_boxed_name(name const & fn) {
|
|||
}
|
||||
|
||||
static bool is_unboxed(expr const & type) {
|
||||
return type != mk_enf_object_type() && type != mk_enf_neutral_type();
|
||||
return type != mk_enf_object_type() && type != mk_enf_neutral_type() && !is_pi(type);
|
||||
}
|
||||
|
||||
static bool has_unboxed(expr const & type) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue