Symmetric coroutines!
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
var a
|
||||
var b
|
||||
|
||||
a = new Fiber {
|
||||
b.call // expect runtime error: Fiber has already been called.
|
||||
}
|
||||
|
||||
b = new Fiber {
|
||||
a.call
|
||||
}
|
||||
|
||||
b.call
|
||||
Reference in New Issue
Block a user