expression to literal (#5769)

This commit is contained in:
Fernando Herrera 2022-06-13 13:22:46 -05:00 committed by GitHub
parent 7ae7394c85
commit 44979f3051
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()),