Ensure Params are treated as Idioms

This commit is contained in:
Tobie Morgan Hitchcock 2022-06-05 22:15:12 +01:00
parent 8b4f300120
commit 91a859f6b0

View file

@ -640,6 +640,7 @@ impl Value {
pub fn to_idiom(&self) -> Idiom {
match self {
Value::Param(v) => v.simplify(),
Value::Idiom(v) => v.simplify(),
Value::Strand(v) => v.0.to_string().into(),
Value::Datetime(v) => v.0.to_string().into(),