aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-undeclared-arg.err.exp
blob: 30db743c7ee1f32194c7d18ac7d2460c323d796a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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?