about summary refs log tree commit diff
path: root/tvix/eval/src/test_utils.rs
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-09-19T10·03+0200
committersterni <sternenseemann@systemli.org>2022-09-20T09·59+0000
commitcd280e07964db1a789c44748a1a7e5dc4e5d534e (patch)
tree86e8fd56b81eba60b7c10095f3c947ebba9d55a5 /tvix/eval/src/test_utils.rs
parent151f4437bccd9e826c8fd666ebce9763c4b54a11 (diff)
fix(tvix/eval): make sure to force before selecting in catAttrs r/4933
Previously, this would almost always crash because list items are
thunked more often nowadays and selecting from a thunk would fail. Also
we no longer pop from args, accessing it by index should avoid an
unnecessary clone here.

Change-Id: I4410c4c2e28cc255a2c7cf2a5322db3d2c556a0e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6693
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/test_utils.rs')
0 files changed, 0 insertions, 0 deletions