Implement YieldNone+ comments

This commit is contained in:
bloeys
2022-11-05 01:26:20 +04:00
parent 2d7d1ae923
commit 3b8d74b979
5 changed files with 64 additions and 0 deletions

View File

@ -54,4 +54,8 @@ func test2(c *cogo.Coroutine[int, int]) {
println("test2222 yield:", 2)
c.Yield(2)
println("test2222 before yield none")
c.YieldNone()
println("test2222 after yield none")
}