diff options
author | Vincent Ambo <mail@tazj.in> | 2022-10-22T16·58+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-10-23T15·50+0000 |
commit | 5b305fab409be662092ab8214db7c4c1c91b8fb8 (patch) | |
tree | 9439c5295f3dd9c0ca9406a702e37ec82ff5929f /tvix/eval/src/tests/nix_tests/eval-okay-patterns.exp | |
parent | 9b52e5b9c2917bffc8405433a2c373a26cfe0c6e (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/nix_tests/eval-okay-patterns.exp')
0 files changed, 0 insertions, 0 deletions