fix(kernel/has_free_vars): return false for null expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
147626c906
commit
872434e632
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ public:
|
|||
};
|
||||
|
||||
bool has_free_vars(expr const & e) {
|
||||
return has_free_vars_fn()(e);
|
||||
return e && has_free_vars_fn()(e);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue