tvl-depot/tvix/eval/src/tests
Vincent Ambo 0f739cd944 feat(tvix/eval): implement scope poisoning for true/false/null
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>
2022-08-31 22:42:48 +00:00
..
nix_tests test(tvix/eval): make sure all language tests also pass with C++ Nix 2022-08-26 20:46:03 +00:00
tvix_tests feat(tvix/eval): implement scope poisoning for true/false/null 2022-08-31 22:42:48 +00:00
mod.rs feat(tvix/eval): resolve relative path literals 2022-08-28 11:02:15 +00:00