diff options
Diffstat (limited to 'tests/functional/lang/eval-okay-getattrpos-functionargs.nix')
-rw-r--r-- | tests/functional/lang/eval-okay-getattrpos-functionargs.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-getattrpos-functionargs.nix b/tests/functional/lang/eval-okay-getattrpos-functionargs.nix new file mode 100644 index 000000000..11d6bb0e3 --- /dev/null +++ b/tests/functional/lang/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; } |