Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-12-19
21:25 • Closed ticket [2917627fff]: bad cmd resolution in coroutines plus 7 other ch... artifact: 506d387672 user: msofer
21:01 • Ticket [2917627fff]: 4 changes artifact: 09d6cc1c7c user: msofer
14:00 • New ticket [2917627fff]. artifact: 42d0566caa user: msofer

bad cmd resolution in coroutines

Closed / Fixed2917627fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-12-19 14:00:50
Recent changes in coroutine dispatch introduced a bug:

% proc a {} {puts global}
% namespace eval b {proc a {} {puts local}; coroutine foo a}        
global

The code should be fixed, and a test added ASAP
msoferplain2009-12-19 21:01:41
Forgot to credit schelte for finding the bug: thx!
msoferplain2009-12-19 21:25:06
allow_comments - 1
Log in (anonymous is fine) to add a comment.