mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 04:44:44 +00:00
Improve type mismatch messages
This commit is contained in:
parent
14bb674068
commit
d26909c317
7 changed files with 50 additions and 27 deletions
|
@ -874,7 +874,7 @@ impl Context {
|
|||
&proj,
|
||||
t_loc,
|
||||
self.caused_by(),
|
||||
self.get_no_candidate_hint(&proj),
|
||||
Self::get_no_candidate_hint(&proj),
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
@ -1169,7 +1169,7 @@ impl Context {
|
|||
&proj,
|
||||
t_loc,
|
||||
self.caused_by(),
|
||||
self.get_no_candidate_hint(&proj),
|
||||
Self::get_no_candidate_hint(&proj),
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue