diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-28T21·11+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-06T14·58+0000 |
commit | 28a9847c65e316fdb97c1bcb79f48cb0114724af (patch) | |
tree | eb1f917c087a1247f3d951bb96e8d5509fa0bd0d /tvix/eval/src/vm.rs | |
parent | d1798444bec692a608aa93605cbe449d985c3e16 (diff) |
feat(tvix/eval): emit thunks for recursive local scope resolution r/4675
When resolving a value on the same level that is known but not yet defined, emit a thunk. Consider for example: let # v--- requires a thunk a = 1 * b; b = 10; in a Change-Id: I922cb50973ebe05e335a7bc7cb851960cf34733b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6345 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/vm.rs')
0 files changed, 0 insertions, 0 deletions