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:
Ryan Lahfa 2024-04-13 14:59:46 +02:00 committed by raitobezarius
parent 01f8ef1560
commit a919efbe11

View file

@ -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())))