about summary refs log tree commit diff
path: root/lisp
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-28T21·11+0300
committertazjin <tazjin@tvl.su>2022-09-06T14·58+0000
commit28a9847c65e316fdb97c1bcb79f48cb0114724af (patch)
treeeb1f917c087a1247f3d951bb96e8d5509fa0bd0d /lisp
parentd1798444bec692a608aa93605cbe449d985c3e16 (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 'lisp')
0 files changed, 0 insertions, 0 deletions