|
2009-07-14
| ||
| 23:54 | • Closed ticket [2821401fff]: NRE-enable switch plus 7 other changes artifact: 0dc641cd3a user: kennykb | |
| 23:42 | • Ticket [2821401fff]: 1 change artifact: 1018378fa6 user: kennykb | |
| 22:37 | • Ticket [2821401fff]: 4 changes artifact: f3b49bf2fb user: msofer | |
| 22:37 | • Ticket [2821401fff]: 4 changes artifact: 5ef570abad user: msofer | |
| 22:35 | • Ticket [2821401fff]: 2 changes artifact: 486724165a user: coldstore | |
| 15:29 | • New ticket [2821401fff]. artifact: 8170a07c90 user: coldstore | |
NRE-enable [switch]
Closed / Fixed2821401fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-07-14 15:29:11
oc coro {} {
switch -glob a {
a {yield}
}
}
coroutine C coro
Will reliably cause a 'cannot yield: C stack busy' error.
Adding -- to the switch, hence causing it to be byte-compiled, prevents the crash.
coldstore Ticket [2821401fff]: 2 changes
[History diff]2009-07-14 22:35:22
msoferplain2009-07-14 22:37:50
non-bcc'ed [switch] is not nre-enabled! Make it so ...
msofer Ticket [2821401fff]: 4 changes
[History diff]2009-07-14 22:37:51
kennykb Ticket [2821401fff]: 1 change
[History diff]2009-07-14 23:42:29
kennykbplain2009-07-14 23:54:52
Fixed in HEAD
Log in (anonymous is fine) to add a comment.