[Evaluator]
Remove remnant of expr_stmt
@@ -278,7 +278,7 @@ impl Evaluator {
env.store(variable_name, value);
Object::Null
}
- Statement::Expression(expr_stmt) => self.expression_to_object(env, expr_stmt.0),
+ Statement::Expression(expr) => self.expression_to_object(env, expr),
Statement::Let(let_stmt) => {
// let statements are used to declare a higher level object
self.handle_let_statement(env, let_stmt);
