chore(library/compiler/ir): style

This commit is contained in:
Leonardo de Moura 2019-05-07 15:20:56 -07:00
parent 5d3c6dbac2
commit b41d7ec98b
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <string>
#include "util/array_ref.h"
#include "util/nat.h"
#include "kernel/instantiate.h"
@ -393,7 +394,7 @@ class to_ir_fn {
lean_assert(!is_fvar(val));
if (is_lit(val)) {
return visit_lit(decl, b);
} if (is_lambda(val)) {
} else if (is_lambda(val)) {
return visit_jp(decl, b);
} else {
expr const & fn = get_app_fn(val);

View file

@ -5,6 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include <string>
#include "kernel/environment.h"
#include "library/compiler/util.h"
namespace lean {