snix/tvix/eval/src/compiler
Vincent Ambo 80aaadfc19 fix(tvix/eval): use span of set for OpForce in attribute access
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
2023-03-17 19:40:40 +00:00
..
bindings.rs chore(tvix/eval): remove From<SmolStr> for NixString instance 2023-03-13 20:30:59 +00:00
import.rs fix(tvix/eval): emit warnings from builtins.import again 2023-03-13 20:30:59 +00:00
mod.rs fix(tvix/eval): use span of set for OpForce in attribute access 2023-03-17 19:40:40 +00:00
optimiser.rs refactor(tvix/eval): remove redundant clone 2023-02-16 22:42:14 +00:00
scope.rs refactor(tvix/eval): administer antidote for poison 2023-01-21 10:19:15 +00:00