fix(tests/kernel/metavar): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
027614cebb
commit
120c24319e
1 changed files with 7 additions and 8 deletions
|
@ -46,14 +46,13 @@ void display_assumptions(std::ostream & out, justification const & j) {
|
|||
}
|
||||
|
||||
static std::ostream & operator<<(std::ostream & out, substitution const & s) {
|
||||
// bool first = true;
|
||||
// s.for_each([&](name const & n, expr const & v, justification const & j) {
|
||||
// if (first) first = false; else out << "\n";
|
||||
// out << "?" << n << " <- " << v << " {";
|
||||
// display_assumptions(out, j);
|
||||
// out << "}";
|
||||
// });
|
||||
s.for_each_expr([](name const &, expr const &, justification const &) {});
|
||||
bool first = true;
|
||||
s.for_each_expr([&](name const & n, expr const & v, justification const & j) {
|
||||
if (first) first = false; else out << "\n";
|
||||
out << "?" << n << " <- " << v << " {";
|
||||
display_assumptions(out, j);
|
||||
out << "}";
|
||||
});
|
||||
return out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue