Update parse.rs

This commit is contained in:
Shunsuke Shibayama 2022-11-16 19:39:09 +09:00
parent 943f4b9d8f
commit c0be75a6c7

View file

@ -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();