Overview
| Artifact ID: | f986157749de99684d5ea0efb4c901b9094214a655729dc5dad2df57d1bee312 |
|---|---|
| Ticket: | ba6ab5eb7be965011159dc04a57820b69877ef16
[return -code] behaviour depends on how coroutine was started |
| User & Date: | aspect on 2020-07-05 13:41:16 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Setup: % info patch 8.6.10 % proc gen {} {yield; return -code break} As expected: % apply {{} {coroutine t1 gen}} % while 1 t1 Bug: % coroutine t2 gen % while 1 t2 invoked "break" outside of a loop while executing "gen" invoked from within "t2" ("while" body line 1) invoked from within "while 1 t2" As a workaround, using [tailcall break] in place of [return -code break] works. - foundin changed to: "8.6.10"
- is_private changed to: "0"
- login: "aspect"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "aspect"
- subsystem changed to: "60. NRE and coroutines"
- title changed to:
[return -code] behaviour depends on how coroutine was started
- type changed to: "Bug"