aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-scope-5.err.exp
blob: b0b05cad7376a13f862fee4aa27443de0f4526a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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|