Overview
| Artifact ID: | b0294d508d255944c918c641ca2ea355a24675ec |
|---|---|
| Ticket: | bfe0f34e6ca558c525d3d649f93970e2267b5ff1
catch and yieldto |
| User & Date: | pooryorick on 2017-06-05 03:09:20 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
In a coroutine, when there's a [yieldto] inside a [catch] script, and the thing yielded to produces an error, that error isn't propagated back to the first coroutine: <code><verbatim> coroutine c2 ::apply {{} { yield error "this isn't caught" }} coroutine c1 ::apply {{} { catch {yieldto c2} # Control never gets to this point. puts hello }} </verbatim></code> - foundin changed to: "8.7"
- is_private changed to: "0"
- login: "pooryorick"
- priority changed to: "5 Medium"
- private_contact changed to: "e476148cded301ffff84bcdc432536dc0c949e88"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "pooryorick"
- subsystem changed to: "16. Commands A-H"
- title changed to: "catch and yieldto"
- type changed to: "Bug"