Improve signature infrastructure

The `config` command uses different kinds of named arguments, which
illustrates how it works.
This commit is contained in:
Yehuda Katz
2019-05-31 22:50:16 -07:00
parent 9df8a261ab
commit 69effbc9e7
36 changed files with 673 additions and 208 deletions

View File

@ -47,8 +47,6 @@ fn evaluate_reference(r: &ast::Variable, scope: &Scope) -> Result<Value, ShellEr
match r {
It => Ok(scope.it.copy()),
True => Ok(Value::boolean(true)),
False => Ok(Value::boolean(false)),
Other(s) => Err(ShellError::string(&format!(
"Unimplemented variable reference: {}",
s