Ensure Params are treated as Idioms
This commit is contained in:
parent
8b4f300120
commit
91a859f6b0
1 changed files with 1 additions and 0 deletions
|
@ -640,6 +640,7 @@ impl Value {
|
||||||
|
|
||||||
pub fn to_idiom(&self) -> Idiom {
|
pub fn to_idiom(&self) -> Idiom {
|
||||||
match self {
|
match self {
|
||||||
|
Value::Param(v) => v.simplify(),
|
||||||
Value::Idiom(v) => v.simplify(),
|
Value::Idiom(v) => v.simplify(),
|
||||||
Value::Strand(v) => v.0.to_string().into(),
|
Value::Strand(v) => v.0.to_string().into(),
|
||||||
Value::Datetime(v) => v.0.to_string().into(),
|
Value::Datetime(v) => v.0.to_string().into(),
|
||||||
|
|
Loading…
Reference in a new issue