diff options
Diffstat (limited to 'tvix/eval/src')
-rw-r--r-- | tvix/eval/src/observer.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tvix/eval/src/observer.rs b/tvix/eval/src/observer.rs index cdc6ca16ff97..63478c791b35 100644 --- a/tvix/eval/src/observer.rs +++ b/tvix/eval/src/observer.rs @@ -156,7 +156,10 @@ impl<W: Write> TracingObserver<W> { // the type of (and avoid recursing). Value::List(l) => write!(&mut self.writer, "list[{}] ", l.len()), Value::Attrs(a) => write!(&mut self.writer, "attrs[{}] ", a.len()), - Value::Thunk(t) if t.is_evaluated() => Ok(self.write_value(&t.value())), + Value::Thunk(t) if t.is_evaluated() => { + self.write_value(&t.value()); + Ok(()) + } // For other value types, defer to the standard value printer. _ => write!(&mut self.writer, "{} ", val), |