1
0
mirror of https://github.com/nushell/nushell.git synced 2025-08-13 14:57:22 +02:00

expression to literal ()

This commit is contained in:
Fernando Herrera
2022-06-13 13:22:46 -05:00
committed by GitHub
parent 7ae7394c85
commit 44979f3051

@ -79,7 +79,7 @@ impl NuExpression {
None,
)),
},
Value::String { val, .. } => Ok(col(val.as_str()).into()),
Value::String { val, .. } => Ok(val.lit().into()),
Value::Int { val, .. } => Ok(val.lit().into()),
Value::Bool { val, .. } => Ok(val.lit().into()),
Value::Float { val, .. } => Ok(val.lit().into()),