aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-30 15:34:35 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-30 15:34:35 -0500
commitf3fc7558bb425c4bd59b55527d2fafaa744fe0aa (patch)
tree86418dff8900119435ef3d75abef698936c376fc /test
parent357c9faa40e97e28aba25d7cf576cf4343f744dd (diff)
Deprecate 'array ++= item' syntax
Diffstat (limited to 'test')
-rw-r--r--test/arrays.tm6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/arrays.tm b/test/arrays.tm
index 6f99f3f2..0d21ea1d 100644
--- a/test/arrays.tm
+++ b/test/arrays.tm
@@ -35,14 +35,10 @@ func main():
>> arr
= [10, 20, 30, 40, 50, 60]
- >> arr ++= 70
- >> arr
- = [10, 20, 30, 40, 50, 60, 70]
-
do:
>> arr := [10, 20]
>> copy := arr
- >> arr ++= 30
+ >> arr ++= [30]
>> arr
= [10, 20, 30]
>> copy