diff options
Diffstat (limited to 'tvix/eval/src/vm')
-rw-r--r-- | tvix/eval/src/vm/generators.rs | 2 | ||||
-rw-r--r-- | tvix/eval/src/vm/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/vm/generators.rs b/tvix/eval/src/vm/generators.rs index f9c5786d8f8f..1b6029e80710 100644 --- a/tvix/eval/src/vm/generators.rs +++ b/tvix/eval/src/vm/generators.rs @@ -473,7 +473,7 @@ impl<'o> VM<'o> { VMRequest::ToJson(value) => { self.reenqueue_generator(name, span.clone(), generator); self.enqueue_generator("to_json", span, |co| { - value.to_json_generator(co) + value.into_json_generator(co) }); return Ok(false); } diff --git a/tvix/eval/src/vm/mod.rs b/tvix/eval/src/vm/mod.rs index d8f38718c67a..87ad50cda182 100644 --- a/tvix/eval/src/vm/mod.rs +++ b/tvix/eval/src/vm/mod.rs @@ -406,7 +406,7 @@ impl<'o> VM<'o> { .pop() .expect("tvix bug: runtime stack empty after execution"); Ok(RuntimeResult { - value: value, + value, warnings: self.warnings, }) } |