fix(kernel/error_msgs): application type mismatch error message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b18263a014
commit
2e753e2cc0
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ format pp_app_type_mismatch(formatter const & fmt, environment const & env, opti
|
||||||
format r;
|
format r;
|
||||||
r += format("type mismatch at application");
|
r += format("type mismatch at application");
|
||||||
r += pp_indent_expr(fmt, env, opts, app);
|
r += pp_indent_expr(fmt, env, opts, app);
|
||||||
r += format("expected type:");
|
r += compose(line(), format("expected type:"));
|
||||||
r += pp_indent_expr(fmt, env, opts, expected_type);
|
r += pp_indent_expr(fmt, env, opts, expected_type);
|
||||||
r += format("given type:");
|
r += compose(line(), format("given type:"));
|
||||||
r += pp_indent_expr(fmt, env, opts, given_type);
|
r += pp_indent_expr(fmt, env, opts, given_type);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue