aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-undeclared-arg.err.exp
blob: 6e13a138eb77a264a4ddccba6c82cdb8092046ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error:
       … from call site
         at /pwd/lang/eval-fail-undeclared-arg.nix:1:1:
            1| ({x, z}: x + z) {x = "foo"; y = "bla"; z = "bar";}
             | ^
            2|

       error: function 'anonymous lambda' called with unexpected argument 'y'
       at /pwd/lang/eval-fail-undeclared-arg.nix:1:2:
            1| ({x, z}: x + z) {x = "foo"; y = "bla"; z = "bar";}
             |  ^
            2|
       Did you mean one of x or z?