mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
Fix test
This commit is contained in:
parent
6c0ce95d0f
commit
12d80c2732
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ pub fn eval_expression(
|
|||
Expr::Var(var_id) => context
|
||||
.get_var(*var_id)
|
||||
.map_err(move |_| ShellError::VariableNotFound(expr.span)),
|
||||
Expr::Call(_) => panic!("Internal error: calls should be handled by eval_block"),
|
||||
Expr::Call(call) => eval_call(context, call, Value::nothing()),
|
||||
Expr::ExternalCall(_, _) => Err(ShellError::Unsupported(expr.span)),
|
||||
Expr::Operator(_) => Ok(Value::Nothing { span: expr.span }),
|
||||
Expr::BinaryOp(lhs, op, rhs) => {
|
||||
|
|
Loading…
Reference in a new issue