From 3c311ffab2d3787abd034e25f0b64cdcbf3a952a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 7 Feb 2023 22:06:55 +0300 Subject: fix(tvix/eval): correctly print lambda address in observer 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 Autosubmit: tazjin Tested-by: BuildkiteCI --- tvix/eval/src/observer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix') 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 RuntimeObserver for TracingObserver { let _ = writeln!( &mut self.writer, "in frame[{}] @ {:p} ===", - call_depth, lambda + call_depth, *lambda ); } -- cgit 1.4.1