fix(kernel/metavar): improve error messages by propagating the tag when we execute instantiate_all

This is the real fix for commit ededf4fc6c
This commit is contained in:
Leonardo de Moura 2015-03-02 13:01:50 -08:00
parent c81762970e
commit 1042bbc06f

View file

@ -185,7 +185,7 @@ protected:
if (!modified)
return e;
else
return mk_rev_app(new_f, new_args);
return mk_rev_app(new_f, new_args, e.get_tag());
}
expr save_result(expr const & e, expr && r) {