aboutsummaryrefslogtreecommitdiff
path: root/test/tables.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-09 17:26:01 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-09 17:26:01 -0500
commit145a078387b8bce5e8e3c93c333c030aa7455e4c (patch)
tree48e113e07888a546bdf9543db2a19587aeef3071 /test/tables.tm
parent8dd51a113ead1fe88c80af9165219ca5398715f6 (diff)
Make the compiler stricter about not promoting local value variables to
pointers
Diffstat (limited to 'test/tables.tm')
-rw-r--r--test/tables.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tables.tm b/test/tables.tm
index 3dd27b0f..650e4e18 100644
--- a/test/tables.tm
+++ b/test/tables.tm
@@ -57,10 +57,10 @@ func main():
>> {x:10*x for x in y if x > 1 for y in [3, 4, 5] if y < 5}
= {2:20, 3:30, 4:40}
- >> t3 := {1:10, 2:20, 3:30}
+ >> t3 := @{1:10, 2:20, 3:30}
>> t3:remove(3)
>> t3
- = {1:10, 2:20}
+ = @{1:10, 2:20}
do:
>> plain := {1:10, 2:20, 3:30}