Files
lix/tests/functional2/lang/function-args/eval-fail-unexpected-args.err.exp
piegames 21a0b81a26 tests/functional2/lang: Migrate function args tests
Change-Id: Ia805d7fbf74c671fc419fb8c9db3960b6be62354
2025-09-18 23:38:46 +02:00

14 lines
423 B
Plaintext

error:
… from call site
at /pwd/in.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/in.nix:1:2:
1| ({a ? "foo", b ? "bar"}: a + b) {c = "meow"; d = "meow";}
| ^
2|
Did you mean one of a or b?