Overview
| Artifact ID: | bec28492c29b47060fc140492e8079c57606cd83552f9cfc0d4eafa5a4890b77 |
|---|---|
| Ticket: | b80ccfcf323bc45619e14388603176d573a61cf0
a coroutine calls yieldto to yieldto itself, and loses control |
| User & Date: | pooryorick on 2021-06-19 17:01:31 |
Changes
- comment changed to:
As of at least [07f12cf7209a23], core-8-branch, in the following script, control never reaches the [error] command: <code><verbatim> proc p0 {} { coroutine c2 p1 error {error after returning from c2} } proc p1 {} { yieldto yieldto [list [info coroutine]] } coroutine c1 p0 puts {no error} </verbatim></code> <b>Output:</b> <verbatim> no error </verbatim> - login: "pooryorick"
- mimetype: "text/plain"