diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-01T16·13+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-07T20·04+0000 |
commit | 6cbd580ba53885d6c4dff1e3a81406604ae13f3a (patch) | |
tree | c896f755fb383ff2619f592ed3d3a7e9aab748fe /tvix/eval/src/compiler/scope.rs | |
parent | 1ea88fcb6587c110acd8c798a5c198b492e04bad (diff) |
feat(tvix/eval): track source spans for `OpForce` instructions r/4735
These source spans will always point to the *value* that is being forced, not the instruction that caused the force to be emitted. This makes sense so that errors during forcing point at the value and not the surrounding expression. Change-Id: I4694414a3281a0de878f71634105b92148ec61f6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6402 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/compiler/scope.rs')
0 files changed, 0 insertions, 0 deletions