| Ticket UUID: | 5106fddd4400e5b9b063258b44f9685fb4750830 | ||
| Title: | failure to yieldto is not the same thing as not calling yieldto in the first place | ||
| Type: | Bug | Created on: | 2021-06-20 08:31:14 |
| Submitter: | pooryorick | Assigned to: | pooryorick |
| Subsystem: | 60. NRE and coroutines | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2021-06-23 18:53:20 |
| Status: | Closed | Closed by: | pooryorick |
| Resolution: | Duplicate | Closed on: | 2021-06-23 18:53:20 |
| Version: | |||
| Description: | ||||
|
In the following script control eventually returns to p1, which sets
output: status success failure If the script doesn't attempt the inner yieldto, and just sets the variables instead, the result is different:
output: status failure failure So apparently in the first script the failure to yield back to c1 affects some internal state and changes the outcome. | ||||
| User Comments: | ||||
pooryorick added on 2021-06-21 05:44:05:
Duplicate of [f9800d52bd61f240]. pooryorick added on 2021-06-21 05:56:04:
Test case added in [5cfdd6ee7b7f2099]. | ||||
