mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 04:44:44 +00:00
Update lower.rs
This commit is contained in:
parent
ac89a7e6cd
commit
a8dc65a916
1 changed files with 4 additions and 0 deletions
|
@ -735,6 +735,10 @@ impl ASTLowerer {
|
|||
return Err(errs);
|
||||
}
|
||||
};
|
||||
// Calling get_call_t with incorrect arguments does not provide meaningful information
|
||||
if !errs.is_empty() {
|
||||
return Err(errs);
|
||||
}
|
||||
let vi = match self.ctx.get_call_t(
|
||||
&obj,
|
||||
&call.attr_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue