fix(library/message_builder): compilation warning
This commit is contained in:
parent
33821f399c
commit
5a8ddb2817
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ message_builder & message_builder::set_exception(std::exception const & ex, bool
|
|||
auto fmt = get_global_ios().get_formatter_factory()(kex->get_environment(), get_global_ios().get_options(),
|
||||
ctx);
|
||||
*this << pp_decl_has_metavars(fmt, kex->get_decl_name(), kex->get_expr(), /* is_type */ false);
|
||||
} else if (auto kex = dynamic_cast<declaration_has_free_vars_exception const *>(&ex)) {
|
||||
} else if (dynamic_cast<declaration_has_free_vars_exception const *>(&ex)) {
|
||||
*this << "invalid declaration, it contains free variables";
|
||||
} else if (auto kex = dynamic_cast<kernel_exception_with_lctx const *>(&ex)) {
|
||||
type_context_old ctx(kex->get_environment(), get_global_ios().get_options(), metavar_context(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue