Add updating cell paths

This commit is contained in:
JT
2021-11-05 16:59:12 +13:00
parent 8c43f60e2e
commit 183d200b9f
6 changed files with 134 additions and 41 deletions

View File

@ -86,7 +86,7 @@ impl Inc {
match value {
Value::Int { val, span } => Ok(Value::Int {
val: val + 1,
span: span.clone(),
span: *span,
}),
Value::String { val, .. } => Ok(self.apply(val)),
_ => Err(PluginError::RunTimeError("incrementable value".to_string())),