fix(frontends/lean/elaborator): missing '\n' in error message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b43313ec43
commit
662345e2af
1 changed files with 1 additions and 1 deletions
|
@ -1079,7 +1079,7 @@ public:
|
||||||
std::tie(expected_fmt, given_fmt) = pp_until_different(fmt, s.instantiate(t), s.instantiate(v_type));
|
std::tie(expected_fmt, given_fmt) = pp_until_different(fmt, s.instantiate(t), s.instantiate(v_type));
|
||||||
format r("type mismatch at term");
|
format r("type mismatch at term");
|
||||||
r += pp_indent_expr(fmt, s.instantiate(v));
|
r += pp_indent_expr(fmt, s.instantiate(v));
|
||||||
r += format("has type");
|
r += compose(line(), format("has type"));
|
||||||
r += given_fmt;
|
r += given_fmt;
|
||||||
r += compose(line(), format("but is expected to have type"));
|
r += compose(line(), format("but is expected to have type"));
|
||||||
r += expected_fmt;
|
r += expected_fmt;
|
||||||
|
|
Loading…
Reference in a new issue