diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-16T12·11+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-08-31T22·42+0000 |
commit | 0f739cd94424c3cbad62bc69de72ee4fff2b6f58 (patch) | |
tree | 998dc1933ec96e71b2df398c2772b7e2cedefa34 /tvix/eval/src/tests/tvix_tests/identity-homogeneous-float-list.nix | |
parent | 0b51d6308171a165fc26005e67c9e9c6f0c59c1f (diff) |
feat(tvix/eval): implement scope poisoning for true/false/null r/4561
These tokens are optionally parsed as identifiers by Nix, which means that within any scopes that resolve them the compiler needs to track whether they have been overridden to know whether to emit the literal instructions or resolve a variable. This is implemented by a new concept of "scope poisoning", where the compiler's scope structure tracks whether or not any builtin identifiers have been overridden. Change-Id: I3ab711146e229f843f6e1f0343385382ee0aecb6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6227 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/identity-homogeneous-float-list.nix')
0 files changed, 0 insertions, 0 deletions