fix(library/tactic/goal): avoid unnecessary line break when possible
This commit is contained in:
parent
ea739100b3
commit
a3801e84d4
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ format goal::pp(formatter const & fmt, substitution const & s) const {
|
||||||
if (first) first = false; else r += compose(comma(), line());
|
if (first) first = false; else r += compose(comma(), line());
|
||||||
expr l = *it;
|
expr l = *it;
|
||||||
expr t = tmp_subst.instantiate(mlocal_type(l));
|
expr t = tmp_subst.instantiate(mlocal_type(l));
|
||||||
r += fmt(l) + space() + colon() + nest(indent, line() + fmt(t));
|
r += group(fmt(l) + space() + colon() + nest(indent, line() + fmt(t)));
|
||||||
}
|
}
|
||||||
r = group(r);
|
r = group(r);
|
||||||
r += line() + turnstile + space() + nest(indent, fmt(tmp_subst.instantiate(conclusion)));
|
r += line() + turnstile + space() + nest(indent, fmt(tmp_subst.instantiate(conclusion)));
|
||||||
|
|
Loading…
Reference in a new issue