summaryrefslogtreecommitdiff
path: root/tests/vars3.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-25 15:23:44 +0100
committerubq323 <ubq323@ubq323.website>2024-06-25 15:23:44 +0100
commite48386449b1f50c9f9d9b0645c8c469c1d4cbe4a (patch)
tree633eadafb39f383899fa681aa68248f5b1f0a99e /tests/vars3.bth
parent6aef97b52844b8868e5ada38ce0936619c1077a7 (diff)
allow local resolution into outer scopes
Diffstat (limited to 'tests/vars3.bth')
-rw-r--r--tests/vars3.bth6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/vars3.bth b/tests/vars3.bth
new file mode 100644
index 0000000..19e82fa
--- /dev/null
+++ b/tests/vars3.bth
@@ -0,0 +1,6 @@
+(do
+ (set x 1)
+ (set y 10)
+ (let (x 2)
+ (let (y 20)
+ (+ x y))))