lix/tests/lang/eval-okay-getattrpos-functionargs.exp
Silvan Mosberger c34e96f7e0
Make function arguments retain position info
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; }
2020-04-02 05:52:52 +02:00

1 line
75 B
Text

{ column = 11; file = "eval-okay-getattrpos-functionargs.nix"; line = 2; }