mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-31 15:48:23 +00:00
Update test.rs
This commit is contained in:
parent
540027282a
commit
1b19d8098a
3 changed files with 5 additions and 2 deletions
|
@ -1285,7 +1285,7 @@ impl Parser {
|
|||
debug_exit_info!(self);
|
||||
Ok(ArgKind::Kw(KwArg::new(kw, None, expr)))
|
||||
} else {
|
||||
let expr: Expr = self
|
||||
let expr = self
|
||||
.try_reduce_expr(false, in_type_args, false, false)
|
||||
.map_err(|_| {
|
||||
if let Some(err) = self.errs.last_mut() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue