about summary refs log tree commit diff
path: root/tvix/eval/src/warnings.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-27T14·16+0300
committertazjin <tazjin@tvl.su>2022-09-04T17·40+0000
commita52db148203824484caa82a23fe88f0a137274ee (patch)
tree9f8d66d36b5e792add5961e99b65dacf268e1cb0 /tvix/eval/src/warnings.rs
parent00aeb6dfaf97c515b155387fc7de27429cf86f74 (diff)
feat(tvix/eval): detect illegally shadowed variables r/4637
Nix does not allow things like `let a = 1; a = 2; in a`, but doing it
across depths is allowed.

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