chore(frontends/lean/old_elaborator): improve error message

This commit is contained in:
Leonardo de Moura 2016-06-14 21:47:29 -07:00
parent 5b8ac6ba30
commit 6a22c0f771

View file

@ -1876,7 +1876,7 @@ void old_elaborator::display_unsolved_tactic_state(expr const & mvar, tactic_sta
flycheck_error err(ios());
if (!err.enabled() || save_error(pip(), pos)) {
display_error_pos(out.get_stream(), out.get_options(), pip(), pos);
out << " " << fmt << "\n" << ts.pp(ios().get_formatter_factory()) << endl;
out << " " << fmt << "\ntactic state:\n" << ts.pp(ios().get_formatter_factory()) << endl;
}
}
}