fix(tvix/eval): fix the unsafeGetAttrPos
stub return value
It was returning `{ line, col, file }` instead of `{ line, column, file }`. Note this is not a regression in Nix, Nix always had `column` since 2013. Change-Id: I4871a201b32324dff0432526d0449806a535828f Signed-off-by: Ryan Lahfa <tvl@lahfa.xyz> Reviewed-on: https://cl.tvl.fyi/c/depot/+/11409 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
01f8ef1560
commit
a919efbe11
1 changed files with 1 additions and 1 deletions
|
@ -1716,7 +1716,7 @@ mod placeholder_builtins {
|
|||
.await;
|
||||
let res = [
|
||||
("line", 42.into()),
|
||||
("col", 42.into()),
|
||||
("column", 42.into()),
|
||||
("file", Value::String("/deep/thought".into())),
|
||||
];
|
||||
Ok(Value::attrs(NixAttrs::from_iter(res.into_iter())))
|
||||
|
|
Loading…
Reference in a new issue