refactor(kernel): replace_visitor doesn't need to be in the kernel anymore
This commit is contained in:
parent
14ebbda8cb
commit
d2cbd25985
5 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
add_library(kernel level.cpp expr.cpp expr_eq_fn.cpp for_each_fn.cpp
|
add_library(kernel level.cpp expr.cpp expr_eq_fn.cpp for_each_fn.cpp
|
||||||
replace_fn.cpp free_vars.cpp abstract.cpp instantiate.cpp
|
replace_fn.cpp free_vars.cpp abstract.cpp instantiate.cpp
|
||||||
formatter.cpp declaration.cpp replace_visitor.cpp environment.cpp
|
formatter.cpp declaration.cpp environment.cpp
|
||||||
justification.cpp pos_info_provider.cpp metavar.cpp converter.cpp
|
justification.cpp pos_info_provider.cpp metavar.cpp converter.cpp
|
||||||
constraint.cpp type_checker.cpp error_msgs.cpp kernel_exception.cpp
|
constraint.cpp type_checker.cpp error_msgs.cpp kernel_exception.cpp
|
||||||
normalizer_extension.cpp init_module.cpp)
|
normalizer_extension.cpp init_module.cpp)
|
||||||
|
|
|
@ -4,7 +4,7 @@ add_library(library deep_copy.cpp expr_lt.cpp io_state.cpp occurs.cpp
|
||||||
normalize.cpp shared_environment.cpp module.cpp coercion.cpp
|
normalize.cpp shared_environment.cpp module.cpp coercion.cpp
|
||||||
private.cpp placeholder.cpp aliases.cpp level_names.cpp
|
private.cpp placeholder.cpp aliases.cpp level_names.cpp
|
||||||
update_declaration.cpp choice.cpp scoped_ext.cpp locals.cpp
|
update_declaration.cpp choice.cpp scoped_ext.cpp locals.cpp
|
||||||
standard_kernel.cpp sorry.cpp
|
standard_kernel.cpp sorry.cpp replace_visitor.cpp
|
||||||
unifier.cpp unifier_plugin.cpp inductive_unifier_plugin.cpp
|
unifier.cpp unifier_plugin.cpp inductive_unifier_plugin.cpp
|
||||||
explicit.cpp num.cpp string.cpp head_map.cpp match.cpp
|
explicit.cpp num.cpp string.cpp head_map.cpp match.cpp
|
||||||
definition_cache.cpp declaration_index.cpp
|
definition_cache.cpp declaration_index.cpp
|
||||||
|
|
|
@ -6,7 +6,7 @@ Author: Leonardo de Moura
|
||||||
*/
|
*/
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include "util/interrupt.h"
|
#include "util/interrupt.h"
|
||||||
#include "kernel/replace_visitor.h"
|
#include "library/replace_visitor.h"
|
||||||
|
|
||||||
namespace lean {
|
namespace lean {
|
||||||
expr replace_visitor::visit_sort(expr const & e) { lean_assert(is_sort(e)); return e; }
|
expr replace_visitor::visit_sort(expr const & e) { lean_assert(is_sort(e)); return e; }
|
|
@ -16,7 +16,7 @@ Author: Leonardo de Moura
|
||||||
#include "kernel/type_checker.h"
|
#include "kernel/type_checker.h"
|
||||||
#include "kernel/for_each_fn.h"
|
#include "kernel/for_each_fn.h"
|
||||||
#include "kernel/replace_fn.h"
|
#include "kernel/replace_fn.h"
|
||||||
#include "kernel/replace_visitor.h"
|
#include "library/replace_visitor.h"
|
||||||
#include "library/kernel_bindings.h"
|
#include "library/kernel_bindings.h"
|
||||||
#include "library/tactic/tactic.h"
|
#include "library/tactic/tactic.h"
|
||||||
#include "library/io_state_stream.h"
|
#include "library/io_state_stream.h"
|
||||||
|
|
Loading…
Reference in a new issue