diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-28T12·34+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-06T07·45+0000 |
commit | 47b356286751bff8f41930761a402564d54d1898 (patch) | |
tree | 3dad60022ee4229c90bf26463a8418113989e23c /tvix/eval/src/errors.rs | |
parent | 705c1b9d535a2a57d3f7f2208818015adaa255a8 (diff) |
refactor(tvix/eval): decouple local depth & initialisation tracking r/4661
In order to resolve recursive references correctly, these two can not be initialised the same way as a potentially large number of (nested!) locals can be declared without initialising their depth. This would lead to issues with detecting things like shadowed variables, so making both bits explicit is preferable. Change-Id: I100cdf1724faa4a2b5a0748429841cf8ef206252 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6325 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/errors.rs')
0 files changed, 0 insertions, 0 deletions