diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-09 17:26:01 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-09 17:26:01 -0500 |
| commit | 145a078387b8bce5e8e3c93c333c030aa7455e4c (patch) | |
| tree | 48e113e07888a546bdf9543db2a19587aeef3071 /test/iterators.tm | |
| parent | 8dd51a113ead1fe88c80af9165219ca5398715f6 (diff) | |
Make the compiler stricter about not promoting local value variables to
pointers
Diffstat (limited to 'test/iterators.tm')
| -rw-r--r-- | test/iterators.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/iterators.tm b/test/iterators.tm index d6bcfa13..2adcab4a 100644 --- a/test/iterators.tm +++ b/test/iterators.tm @@ -25,10 +25,10 @@ func main(): = ["AB", "BC", "CD"] do: - result := [:Text] + result := @[:Text] for foo in pairwise(values): result:insert("$(foo.x)$(foo.y)") - >> result + >> result[] = ["AB", "BC", "CD"] >> [i for i in range(5, 10)] |
