diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-27T16·35+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-04T17·53+0000 |
commit | 4bf096ee6e4318c3ed9049bb2226fc89a6bf4059 (patch) | |
tree | 4852a434adf8711114740a8ba7d0f1fc5de5260d /users/wpcarro/scratch/facebook/utils.py | |
parent | 27bc8cb3d4f4274dd45c810d8d1a789076bcb9f5 (diff) |
fix(tvix/eval): Account for uninitialised variables in with_idx r/4640
Calculating the with_idx (i.e. the stack offset of the "phantom" variable from which a `with` dynamically reads at runtime) needs to account for unitialised variables the same way as the resolution of normal locals does. Change-Id: I9ffe404535bf1c3cb5dfe8d9e005798c857fff94 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6308 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/wpcarro/scratch/facebook/utils.py')
0 files changed, 0 insertions, 0 deletions