Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.