Not fails on cart contruction parsing, does nothing.

This commit is contained in:
Erin 2021-07-29 18:17:08 +02:00 committed by ondra05
parent 1f8d6a8ec2
commit 68d0b8d334

View file

@ -233,7 +233,9 @@ impl<'source> Parser<'source> {
/// Flow for creating carts /// Flow for creating carts
fn cart_flow(&mut self) -> Result<ExprKind, Error> { fn cart_flow(&mut self) -> Result<ExprKind, Error> {
todo!("cart construction") let mut cart = vec![];
Ok(ExprKind::Cart(cart))
} }
/// Flow for operators /// Flow for operators