mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 04:24:43 +00:00
Update parse.rs
This commit is contained in:
parent
943f4b9d8f
commit
c0be75a6c7
1 changed files with 1 additions and 1 deletions
|
@ -2229,7 +2229,7 @@ impl Parser {
|
|||
self.stack_dec();
|
||||
return Err(());
|
||||
};
|
||||
call.args.insert_pos(0, PosArg { expr: first_arg });
|
||||
call.args.insert_pos(0, PosArg::new(first_arg));
|
||||
stack.push(ExprOrOp::Expr(Expr::Call(call)));
|
||||
}
|
||||
self.stack_dec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue