diff options
author | sterni <sternenseemann@systemli.org> | 2022-09-18T22·48+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2022-09-19T09·58+0000 |
commit | b79e248959cbccd6b387a52750de54b388a9a2c3 (patch) | |
tree | e2fb2ba89f779aa97888083333a8b2e71a06da0f /users/zseri/store-ref-scanner | |
parent | fefa8c55c45d82fc1d81e02a96e126812e1e1223 (diff) |
refactor(tvix/eval): handle forcing in Builtin::apply r/4918
Instead of arity, we pass a array reference to Builtin::new that describes how many arguments there are and which of them need to be forced, eliminating the need to force manually. Note that this change doesn't fix some of the instances where the the Builtin doesn't consider that the value could be a Thunk. Change-Id: Iadb58bb79886c30dc6b09dcf0ffad8abf28036a1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6662 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/zseri/store-ref-scanner')
0 files changed, 0 insertions, 0 deletions