about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-02-07T19·06+0300
committerclbot <clbot@tvl.fyi>2023-02-14T08·02+0000
commit3c311ffab2d3787abd034e25f0b64cdcbf3a952a (patch)
tree12794bf0299cd5b507ced0c6b33fa4a0856d4b45
parentfc61dff037898cc11b5aeae6708c7a02dd4c3376 (diff)
fix(tvix/eval): correctly print lambda address in observer r/5851
We want the address that the Rc is pointing to, not the address of the
Rc.

Change-Id: I8eba21677f242bbe4166c74d4aa4269c316076e3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8045
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--tvix/eval/src/observer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/observer.rs b/tvix/eval/src/observer.rs
index 1617d61c8752..6bd4609b0998 100644
--- a/tvix/eval/src/observer.rs
+++ b/tvix/eval/src/observer.rs
@@ -152,7 +152,7 @@ impl<W: Write> RuntimeObserver for TracingObserver<W> {
         let _ = writeln!(
             &mut self.writer,
             "in frame[{}] @ {:p} ===",
-            call_depth, lambda
+            call_depth, *lambda
         );
     }