about summary refs log tree commit diff
path: root/tvix/eval/src/value/mod.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-11T14·23+0300
committertazjin <tazjin@tvl.su>2022-08-26T15·06+0000
commitdd8f5f1dc8e314b1908d90620f69efed2b284072 (patch)
treec056a2489c8fd95dd15dc44fb8c5b944945be768 /tvix/eval/src/value/mod.rs
parentcf3e3b784bc322c7e2f032b0c803e42524bede38 (diff)
feat(tvix/eval): implement nested '?' operator r/4496
Implements the nested presence check operator for attribuet sets by
traversing the chain of lookups through instructions that push/pop
sequentially deeper attribute sets onto the stack.

Note that this commit introduces a bug in case of nested attributes
not being found, which is fixed in a later commit.

Change-Id: Ic8b4c8648736f6cb048e3aa52592e4d075bf0544
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6163
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/value/mod.rs')
0 files changed, 0 insertions, 0 deletions