aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/repl_characterization/data/stack_vars.nix
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-03-09 23:59:50 -0800
committerJade Lovelace <lix@jade.fyi>2024-03-15 12:31:16 -0700
commit7d361f1a828ee800e2e5353169c31134cbd08f0d (patch)
tree4fb438d526b2864c348f448c055d410b904d61fc /tests/functional/repl_characterization/data/stack_vars.nix
parentaf066af7f30784c9244c8428acae4b0fbffd3992 (diff)
Test that :st does ... something
Change-Id: I97c00b5eb1288f68d8c2b484436cc185d040b8b2
Diffstat (limited to 'tests/functional/repl_characterization/data/stack_vars.nix')
-rw-r--r--tests/functional/repl_characterization/data/stack_vars.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/repl_characterization/data/stack_vars.nix b/tests/functional/repl_characterization/data/stack_vars.nix
new file mode 100644
index 000000000..1476bc251
--- /dev/null
+++ b/tests/functional/repl_characterization/data/stack_vars.nix
@@ -0,0 +1,9 @@
+let
+ a = builtins.trace "before inner break" (
+ let meow' = 3; in builtins.break { msg = "hello"; }
+ );
+ b = builtins.trace "before outer break" (
+ let meow = 2; in builtins.break a
+ );
+in
+ b