mirror of
https://github.com/MorizzG/rlox.git
synced 2025-12-06 04:12:42 +00:00
minor stuff
This commit is contained in:
parent
128c2771dc
commit
f6dbc17f92
3 changed files with 20 additions and 15 deletions
|
|
@ -135,10 +135,6 @@ impl Eval for Expr {
|
|||
}
|
||||
Expr::Call { callee, args } => {
|
||||
let callee = callee.eval(env)?;
|
||||
/* let args = args
|
||||
.iter()
|
||||
.map(|arg| arg.eval(env))
|
||||
.collect::<EvalResult<Vec<Value>>>()?; */
|
||||
|
||||
for arg in args {
|
||||
let arg = arg.eval(env)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue