From 207f3dd47e90c1ccc80b4775c1b2d13e5bfc6a72 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 8 Oct 2022 22:06:27 +0300 Subject: fix(tvix/eval): end scope after compiling legacy let bindings When contrasting the compilation of the desugared version to the "sugared" version, this was the noticeable difference. This fixes b/203. Change-Id: Iae02ffc56e06de1de091b84cdc59d8fe83a17d69 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6898 Reviewed-by: grfn Autosubmit: tazjin Tested-by: BuildkiteCI --- tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-in-with.nix | 1 + 1 file changed, 1 insertion(+) create mode 100644 tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-in-with.nix (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-in-with.nix') diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-in-with.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-in-with.nix new file mode 100644 index 0000000000..a5b0542668 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let-in-with.nix @@ -0,0 +1 @@ +with {}; let { body = 42; } -- cgit 1.4.1