fix(kernel/has_free_vars): return false for null expression

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-12-06 16:01:57 -08:00
parent 147626c906
commit 872434e632

View file

@ -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);
}
/**