Files
piegames 078bbe6171 libexpr/eval: Fix off by one in maxCallDepth calculation
This isn't really relevant for a setting of 10k, but now that we want to
set it to 0 for Flakes it makes a difference as to whether or not one
top-level function call is allowed or not. (It shouldn't be)

Change-Id: I6bbf99826af0289c232b9d45d172a378b81abe4b
2026-05-03 13:05:46 +02:00

39 lines
875 B
Plaintext

error:
… from call site
at /pwd/in.nix:1:1:
1| (x: x x) (x: x x)
| ^
2|
… while calling anonymous lambda
at /pwd/in.nix:1:2:
1| (x: x x) (x: x x)
| ^
2|
… from call site
at /pwd/in.nix:1:5:
1| (x: x x) (x: x x)
| ^
2|
… while calling anonymous lambda
at /pwd/in.nix:1:11:
1| (x: x x) (x: x x)
| ^
2|
… from call site
at /pwd/in.nix:1:14:
1| (x: x x) (x: x x)
| ^
2|
(19995 duplicate frames omitted)
error: stack overflow; max-call-depth exceeded
at /pwd/in.nix:1:14:
1| (x: x x) (x: x x)
| ^
2|