about summary refs log tree commit diff
path: root/tvix/store/src/bin/tvix-store.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-03-13T09·21+0300
committerclbot <clbot@tvl.fyi>2023-03-17T19·40+0000
commit80aaadfc199c4038b69c89f3493528f09c28efc2 (patch)
treef51db07b1962e2f01ac572f0a2f5b01f8ed96921 /tvix/store/src/bin/tvix-store.rs
parent8c13f18d114cfaaa3b6a9907a04a57c3fe7733b4 (diff)
fix(tvix/eval): use span of `set` for OpForce in attribute access r/6027
Emits the span of the `set` that is being accessed in the `force`
operation of an attribute access.

Looking at traces, it's a lot more useful to get information about
*what* is being forced, as in cases like `foo.bar` it can be
misleading to have an error highlight `bar`, when the error occured
while forcing `foo` to be able to access `bar` in the first place.

Change-Id: Id46ff28f20c67cb4971727ac52cc4811795cea2d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8272
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/bin/tvix-store.rs')
0 files changed, 0 insertions, 0 deletions