diff options
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getattrpos-functionargs.nix')
-rw-r--r-- | tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getattrpos-functionargs.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getattrpos-functionargs.nix b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getattrpos-functionargs.nix new file mode 100644 index 000000000000..11d6bb0e3ac9 --- /dev/null +++ b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getattrpos-functionargs.nix @@ -0,0 +1,4 @@ +let + fun = { foo }: {}; + pos = builtins.unsafeGetAttrPos "foo" (builtins.functionArgs fun); +in { inherit (pos) column line; file = baseNameOf pos.file; } |