Files
lix/tests/functional/lang/eval-fail-missing-args.err.exp
T
Zitrone f6c4034e2f libexpr: show all missing and unexpected arguments instead of just one
also only give suggestions for unused arguments

Change-Id: Iae8e72defbbe2571a803dfd7216745b39848ccb2
2025-03-11 20:21:24 +01:00

13 lines
401 B
Plaintext

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|