fiddle
This commit is contained in:
parent
229470fee3
commit
b2e08fe207
|
@ -312,9 +312,8 @@ impl<'src> Process<'src> {
|
|||
|
||||
pub fn eval(&mut self) -> LResult<'src> {
|
||||
use Ast::*;
|
||||
let root_node = self.ast;
|
||||
let root_span = self.span;
|
||||
let result = match self.ast {
|
||||
let (root_node, root_span) = (self.ast, self.span);
|
||||
let result = match root_node {
|
||||
Nil => Ok(Value::Nil),
|
||||
Boolean(b) => Ok(Value::Boolean(*b)),
|
||||
Number(n) => Ok(Value::Number(*n)),
|
||||
|
|
Loading…
Reference in New Issue
Block a user