fix(kernel/kernel_exception): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
6dfeff92f8
commit
54936c201a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
|
||||
[[ noreturn ]] void throw_kernel_exception(environment const & env, char const * msg, optional<expr> const & m) {
|
||||
std::string msg_str = msg;
|
||||
throw generic_kernel_exception(env, msg, m, [=](formatter const &, options const &) { return format(msg); });
|
||||
throw generic_kernel_exception(env, msg, m, [=](formatter const &, options const &) { return format(msg_str); });
|
||||
}
|
||||
|
||||
[[ noreturn ]] void throw_kernel_exception(environment const & env, sstream const & strm, optional<expr> const & m) {
|
||||
|
|
Loading…
Reference in a new issue