aboutsummaryrefslogtreecommitdiff
path: root/core/coroutines.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-29 15:59:30 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-29 16:00:04 -0700
commit811fdd685670d2eb8c6bcb9e6e103e57bf402ca8 (patch)
treec599fd7a609159c2ec50a30f1131000070e8eb03 /core/coroutines.nom
parent22495c7d708b4950b83c5bc9b97806e19cd1fcfa (diff)
Tweaked version 3.6 to include deprecating list append/removal functions
in favor of using a method call style.
Diffstat (limited to 'core/coroutines.nom')
-rw-r--r--core/coroutines.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/coroutines.nom b/core/coroutines.nom
index 1570ed7..80f3b60 100644
--- a/core/coroutines.nom
+++ b/core/coroutines.nom
@@ -12,7 +12,7 @@ test:
-> 5
repeat 3 times: -> 6
- for % in coroutine %co: add % to %nums
+ for % in coroutine %co: %nums::add %
assume (%nums == [4, 5, 6, 6, 6]) or barf "Coroutine iteration failed"
compile [coroutine %body, generator %body] to (..)
Lua value ".."