1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Fix underflow in Printer::printList

Analogous to 9b88bf8adf / three commits back
This commit is contained in:
Robert Hensing 2024-06-29 14:08:43 +02:00
parent bfc5416240
commit b2c7f09b0a
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,9 @@
error:
… while evaluating a path segment
at /pwd/lang/eval-fail-nested-list-items.nix:11:6:
10|
11| "" + (let v = [ [ 1 2 3 4 5 6 7 8 ] [1 2 3 4]]; in builtins.deepSeq v v)
| ^
12|
error: cannot coerce a list to a string: [ [ 1 2 3 4 5 6 7 8 ] [ 1 «3 items elided» ] ]