17 lines
709 B
C
17 lines
709 B
C
|
/*
|
||
|
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||
|
Released under Apache 2.0 license as described in the file LICENSE.
|
||
|
|
||
|
Author: Leonardo de Moura
|
||
|
*/
|
||
|
#pragma once
|
||
|
#include "kernel/environment.h"
|
||
|
#include "kernel/formatter.h"
|
||
|
|
||
|
namespace lean {
|
||
|
[[ noreturn ]] void throw_elaborator_exception(environment const & env, char const * msg, expr const & m);
|
||
|
[[ noreturn ]] void throw_elaborator_exception(environment const & env, sstream const & strm, expr const & m);
|
||
|
[[ noreturn ]] void throw_elaborator_exception(environment const & env, char const * msg, expr const & m, pp_fn const & fn);
|
||
|
[[ noreturn ]] void throw_elaborator_exception(environment const & env, expr const & m, pp_fn const & fn);
|
||
|
}
|