diff options
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-fix.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-fix.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-fix.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-fix.nix new file mode 100644 index 000000000000..87fcffadee5f --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-fix.nix @@ -0,0 +1,9 @@ +let { + a = 21; + b = body.one; + + body = { + one = a * 2; + two = b; + }; +} |