fix(kernel/environment): relax normalizer_extesion interface
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
f320277248
commit
1b9e2efb0c
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ namespace lean {
|
||||||
*/
|
*/
|
||||||
class noop_normalizer_extension : public normalizer_extension {
|
class noop_normalizer_extension : public normalizer_extension {
|
||||||
public:
|
public:
|
||||||
virtual optional<expr> operator()(expr const &, extension_context const &) const {
|
virtual optional<expr> operator()(expr const &, extension_context &) const {
|
||||||
return none_expr();
|
return none_expr();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -31,7 +31,7 @@ class certified_definition;
|
||||||
class normalizer_extension {
|
class normalizer_extension {
|
||||||
public:
|
public:
|
||||||
virtual ~normalizer_extension() {}
|
virtual ~normalizer_extension() {}
|
||||||
virtual optional<expr> operator()(expr const & e, extension_context const & ctx) const = 0;
|
virtual optional<expr> operator()(expr const & e, extension_context & ctx) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue