about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-assert-thunk-condition.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-10-22T16·58+0300
committertazjin <tazjin@tvl.su>2022-10-23T15·50+0000
commit5b305fab409be662092ab8214db7c4c1c91b8fb8 (patch)
tree9439c5295f3dd9c0ca9406a702e37ec82ff5929f /tvix/eval/src/tests/tvix_tests/eval-okay-assert-thunk-condition.nix
parent9b52e5b9c2917bffc8405433a2c373a26cfe0c6e (diff)
fix(tvix/eval): fix condition for useless inherit warning r/5183
The warning needs to consider whether it is occuring inside of a
thunk, i.e. the dynamic ancestry chain of lambda contexts must be
inspected and not just the current scope.

Change-Id: I5cf5482d67a8bbb9f03b0ecee7a62f58754f8e59
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7063
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-assert-thunk-condition.nix')
0 files changed, 0 insertions, 0 deletions