diff options
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/eval/src/value/mod.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs index b688716d4131..aa32f558aa69 100644 --- a/tvix/eval/src/value/mod.rs +++ b/tvix/eval/src/value/mod.rs @@ -588,8 +588,12 @@ impl Value { .clone() .force(co, span.clone()) .await? - .to_str()? - == out2.clone().force(co, span.clone()).await?.to_str()?; + .to_contextful_str()? + == out2 + .clone() + .force(co, span.clone()) + .await? + .to_contextful_str()?; if !result { return Ok(Value::Bool(false)); } else { |