fix(kernel/metavar): bug at cached_metavar_env::update method

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-12-23 15:41:02 -08:00
parent e6df417440
commit b83b17d3ab

View file

@ -388,8 +388,8 @@ expr metavar_env_cell::instantiate_metavars(expr const & e, buffer<justification
bool cached_metavar_env::update(optional<metavar_env> const & menv) {
if (!menv) {
m_menv = none_menv();
if (m_timestamp != 0) {
m_menv = none_menv();
m_timestamp = 0;
return true;
} else {