Files
lix/src/libexpr
regnat f6078e474d Also display some suggestions for invalid formal arguments
```console
$ nix eval --expr '({ foo ? 1 }: foo) { fob = 2; }'
error: anonymous function at (string):1:2 called with unexpected argument 'fob'

       at «string»:1:1:

            1| ({ foo ? 1 }: foo) { fob = 2; }
             | ^
       Did you mean foo?
```

Not that because Nix will first check for _missing_ arguments before
checking for extra arguments, `({ foo }: foo) { fob = 1; }` will
complain about the missing `foo` argument (rather than extra `fob`) and
so won’t display a suggestion.
2022-03-08 16:40:22 +01:00
..
2022-03-03 11:11:16 +01:00
2022-03-07 10:09:09 +01:00
2022-01-04 20:29:17 +01:00
2022-01-19 13:39:42 +01:00
2019-03-14 14:11:12 +01:00
2022-02-21 16:37:25 +01:00
2021-11-13 20:33:34 -05:00