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-scope-5.err.exp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 test/testdata/eval-fail-scope-5.err.exp (limited to 'test/testdata/eval-fail-scope-5.err.exp') diff --git a/test/testdata/eval-fail-scope-5.err.exp b/test/testdata/eval-fail-scope-5.err.exp new file mode 100644 index 0000000..b0b05ca --- /dev/null +++ b/test/testdata/eval-fail-scope-5.err.exp @@ -0,0 +1,28 @@ +error: + … while evaluating the attribute 'body' + at /pwd/lang/eval-fail-scope-5.nix:8:3: + 7| + 8| body = f {}; + | ^ + 9| + + … from call site + at /pwd/lang/eval-fail-scope-5.nix:8:10: + 7| + 8| body = f {}; + | ^ + 9| + + … while calling 'f' + at /pwd/lang/eval-fail-scope-5.nix:6:7: + 5| + 6| f = {x ? y, y ? x}: x + y; + | ^ + 7| + + error: infinite recursion encountered + at /pwd/lang/eval-fail-scope-5.nix:6:12: + 5| + 6| f = {x ? y, y ? x}: x + y; + | ^ + 7| -- cgit v1.2.3