1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Key repeated values on attribute binding pointers, not value pointers

Closes #8672
This commit is contained in:
Rebecca Turner 2024-02-03 19:17:22 -08:00
parent 49cf090cb2
commit 770d2bc779
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -156,7 +156,7 @@ testReplResponseNoRegex '
# Same for let expressions
testReplResponseNoRegex '
let x = { y = { a = 1; }; inherit x; }; in x
' '{ x = { ... }; y = { ... }; }'
' '{ x = «repeated»; y = { ... }; }'
# The :p command should recursively print sets, but prevent infinite recursion
testReplResponseNoRegex '
@ -171,4 +171,4 @@ testReplResponseNoRegex '
# Same for let expressions
testReplResponseNoRegex '
:p let x = { y = { a = 1; }; inherit x; }; in x
' '{ x = { x = «repeated»; y = { a = 1; }; }; y = «repeated»; }'
' '{ x = «repeated»; y = { a = 1; }; }'