mirror of
https://github.com/NixOS/nix.git
synced 2024-11-27 09:12:40 +00:00
c34e96f7e0
This allows querying the location of function arguments. E.g. builtins.unsafeGetAttrPos "x" (builtins.functionArgs ({ x }: null)) => { column = 57; file = "/home/infinisil/src/nix/inst/test.nix"; line = 1; }
2 lines
75 B
Plaintext
2 lines
75 B
Plaintext
{ column = 11; file = "eval-okay-getattrpos-functionargs.nix"; line = 2; }
|