forked from Mirror/wren
- Compile them as calls and definitions. - Use them for call(), clear(), run(), try(), and yield(). - Update the docs.
7 lines
138 B
Plaintext
7 lines
138 B
Plaintext
var fiber = new Fiber {
|
|
IO.print("try")
|
|
}
|
|
|
|
fiber.try() // expect: try
|
|
fiber.try() // expect runtime error: Cannot try a finished fiber.
|