From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-fail-undeclared-arg.err.exp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/testdata/eval-fail-undeclared-arg.err.exp (limited to 'test/testdata/eval-fail-undeclared-arg.err.exp') diff --git a/test/testdata/eval-fail-undeclared-arg.err.exp b/test/testdata/eval-fail-undeclared-arg.err.exp new file mode 100644 index 0000000..6e13a13 --- /dev/null +++ b/test/testdata/eval-fail-undeclared-arg.err.exp @@ -0,0 +1,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? -- cgit v1.2.3