about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getattrpos.nix
blob: ca6b079615471bbd39b6d48fd92fe4773f023073 (plain) (blame)
1
2
3
4
5
6
let
  as = {
    foo = "bar";
  };
  pos = builtins.unsafeGetAttrPos "foo" as;
in { inherit (pos) column line; file = baseNameOf pos.file; }