diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-14T11·15+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-08-30T17·13+0000 |
commit | 43658a5b90786eb169471f02e6738359214343d9 (patch) | |
tree | a8b6b69cf6cdf89a11ce5183b721d0c3bc9b2daf /tvix/eval/src/value/attrs.rs | |
parent | 8d45fbadeac9c90e216c872326919cf012fa24f6 (diff) |
fix(tvix/eval): emit correct count in OpAttrPath r/4541
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 <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/value/attrs.rs')
-rw-r--r-- | tvix/eval/src/value/attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs index ca92636046ba..f614128550f3 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()), } } |