libexpr: show all missing and unexpected arguments instead of just one
also only give suggestions for unused arguments Change-Id: Iae8e72defbbe2571a803dfd7216745b39848ccb2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
error:
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-missing-args.nix:1:1:
|
||||
1| ({a, b, c, d}: a + b + c + d) { }
|
||||
| ^
|
||||
2|
|
||||
|
||||
error: function 'anonymous lambda' called without required arguments 'a', 'b', 'c' and 'd'
|
||||
at /pwd/lang/eval-fail-missing-args.nix:1:2:
|
||||
1| ({a, b, c, d}: a + b + c + d) { }
|
||||
| ^
|
||||
2|
|
||||
Reference in New Issue
Block a user