fix(kernel/level): predicate is_param_core

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-05-07 16:22:08 -07:00
parent 8ae0e46e9d
commit db39458c30

View file

@ -101,7 +101,7 @@ struct level_param_core : public level_cell {
} }
}; };
bool is_param_core(level const & l) { return is_param(l) || is_meta(l); } bool is_param_core(level const & l) { return is_param(l) || is_global(l) || is_meta(l); }
static level_param_core const & to_param_core(level const & l) { static level_param_core const & to_param_core(level const & l) {
lean_assert(is_param_core(l)); lean_assert(is_param_core(l));