mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
expression to literal (#5769)
This commit is contained in:
parent
7ae7394c85
commit
44979f3051
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ impl NuExpression {
|
||||||
None,
|
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::Int { val, .. } => Ok(val.lit().into()),
|
||||||
Value::Bool { val, .. } => Ok(val.lit().into()),
|
Value::Bool { val, .. } => Ok(val.lit().into()),
|
||||||
Value::Float { val, .. } => Ok(val.lit().into()),
|
Value::Float { val, .. } => Ok(val.lit().into()),
|
||||||
|
|
Loading…
Reference in a new issue