about summary refs log tree commit diff
path: root/tvix/eval/src/warnings.rs
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-05-27T19·21+0200
committerclbot <clbot@tvl.fyi>2023-05-29T12·44+0000
commit2aab01ac298c81c3f504c1ac2608ee9aaf88346b (patch)
treed22ba6c0fed96e036b4f89fe3d76966353ba1133 /tvix/eval/src/warnings.rs
parent9d0425acc0eef553cb0c3023908f7de4c1e2de82 (diff)
fix(tvix/eval): thunk HasAttr expressions r/6216
HasAttrs was weird because with longer attribute paths it would
sometimes not turn out to be a thunk. If it was a thunk, it'd usually
still do some eval strictly which we'll want to avoid.

Verified against C++ Nix using a new test suite introduced in a later
CL.

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