This commit is contained in:
Jakub Žádník 2021-09-05 01:35:08 +03:00
parent 672fa852b3
commit 6b4fee88c9
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ pub fn flatten_expression(
Expr::Float(_) => { Expr::Float(_) => {
vec![(expr.span, FlatShape::Float)] vec![(expr.span, FlatShape::Float)]
} }
Expr::Range(from, to, op) => { Expr::Range(from, to, op) => {
let mut output = vec![]; let mut output = vec![];
if let Some(f) = from { if let Some(f) = from {
output.extend(flatten_expression(working_set, f)); output.extend(flatten_expression(working_set, f));

View File

@ -241,7 +241,7 @@ impl Value {
.collect::<Vec<String>>() .collect::<Vec<String>>()
.join(", ".into()) .join(", ".into())
) )
}, }
Value::String { val, .. } => val, Value::String { val, .. } => val,
Value::ValueStream { stream, .. } => stream.into_string(), Value::ValueStream { stream, .. } => stream.into_string(),
Value::List { val, .. } => val Value::List { val, .. } => val