diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-04-02 05:03:58 +0200 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-04-02 05:52:52 +0200 |
commit | c34e96f7e0d53894f302134b2f90f83b20ffd22a (patch) | |
tree | d7cb3742e2f2fe4327b768fc5dcf168297ff19f9 /tests/lang/eval-okay-any-all.nix | |
parent | a7540294cfae82c098e8691cd5212a9184add574 (diff) |
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; }
Diffstat (limited to 'tests/lang/eval-okay-any-all.nix')
0 files changed, 0 insertions, 0 deletions