aboutsummaryrefslogtreecommitdiff
path: root/core/coroutines.nom
diff options
context:
space:
mode:
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 ".."