From 43658a5b90786eb169471f02e6738359214343d9 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 14 Aug 2022 14:15:26 +0300 Subject: fix(tvix/eval): emit correct count in OpAttrPath Not sure how exactly this snuck in, but it caused some subtle breakages in deeply nested attribute sets. Change-Id: I8049ce912405d3750031f79cc8d86ff1c3c02c2b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6208 Reviewed-by: grfn Tested-by: BuildkiteCI --- tvix/eval/src/value/attrs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/eval/src/value/attrs.rs') diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs index ca92636046..f614128550 100644 --- a/tvix/eval/src/value/attrs.rs +++ b/tvix/eval/src/value/attrs.rs @@ -253,7 +253,7 @@ impl NixAttrs { continue; } - other => panic!("unexpected attribute key type: {}", other.type_of()), + other => panic!("unexpected attribute key: {} :: {}", other, other.type_of()), } } -- cgit 1.4.1