fix(kernel/normalizer): compilation problem with clang++
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
418623b874
commit
7b2fea3fab
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class normalizer::imp {
|
|||
|
||||
/** \brief Convert the value \c v back into an expression in a context that contains \c k binders. */
|
||||
expr reify(expr const & v, unsigned k) {
|
||||
return replace(v, [&](expr const & e, unsigned DEBUG_CODE(offset)) {
|
||||
return replace(v, [&](expr const & e, unsigned DEBUG_CODE(offset)) -> expr {
|
||||
lean_assert(offset == 0);
|
||||
lean_assert(!is_lambda(e) && !is_pi(e) && !is_metavar(e) && !is_let(e));
|
||||
if (is_var(e)) {
|
||||
|
|
Loading…
Reference in a new issue