fix(kernel/type_checker): use the application to provide error location
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
0791c83731
commit
5c40b466cc
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ justification app_delayed_justification::get() {
|
|||
expr e = m_e;
|
||||
expr fn_type = m_fn_type;
|
||||
expr arg_type = m_arg_type;
|
||||
m_jst = mk_justification(app_arg(e),
|
||||
m_jst = mk_justification(e,
|
||||
[=](formatter const & fmt, options const & o, substitution const & subst) {
|
||||
return pp_app_type_mismatch(fmt, env, o,
|
||||
subst.instantiate_metavars_wo_jst(e),
|
||||
|
|
Loading…
Reference in a new issue