Currently, all tests are relative to `./tests/functional` instead of `./tests/functional/lang`. Whether this is a historical artefact or as intended, the current move is to align the tests with the new design of functional2, preparing them for an easier migration. Change-Id: Ie394691b071488a8000a005080b9167786d5bd9a
14 lines
469 B
Plaintext
14 lines
469 B
Plaintext
error:
|
|
… from call site
|
|
at /pwd/eval-fail-undeclared-args.nix:1:1:
|
|
1| ({a ? "foo", b ? "bar"}: a + b) {c = "meow"; d = "meow";}
|
|
| ^
|
|
2|
|
|
|
|
error: function 'anonymous lambda' called with unexpected arguments 'c' and 'd'
|
|
at /pwd/eval-fail-undeclared-args.nix:1:2:
|
|
1| ({a ? "foo", b ? "bar"}: a + b) {c = "meow"; d = "meow";}
|
|
| ^
|
|
2|
|
|
Did you mean one of a or b?
|