aboutsummaryrefslogtreecommitdiff
path: root/test/iterators.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-04 17:06:09 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-04 17:06:09 -0400
commit0b8074154e2671691050bdb3bcb33245625a056c (patch)
tree1410e0c4e05c6372e876cd08f16d117e12868f41 /test/iterators.tm
parentfadcb45baf1274e06cfe37b87655b9146aa52874 (diff)
First working compile of refactor to add explicit typing to declarations
and support untyped empty collections and `none`s
Diffstat (limited to 'test/iterators.tm')
-rw-r--r--test/iterators.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/iterators.tm b/test/iterators.tm
index 4a85e6f9..0b6c2a89 100644
--- a/test/iterators.tm
+++ b/test/iterators.tm
@@ -25,7 +25,7 @@ func main():
= ["AB", "BC", "CD"]
do:
- result := @[:Text]
+ result : @[Text] = @[]
for foo in pairwise(values):
result:insert("$(foo.x)$(foo.y)")
>> result[]