namespace eval $ns upvar inconsistent with 8.3
Closed / Fixed696893ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-03 22:37:11
Before: % info patch 8.3.5 % namespace eval foo upvar bar bar % After: % info patch 8.4.2 % namespace eval foo upvar bar bar can't upvar from variable to itself This may be related to Tcl Bugs 545325 and 631741
dgpplain2003-03-04 09:57:30
Logged In: YES user_id=80530 Thanks to David Hilker for reporting this.
msoferplain2003-03-22 05:03:46
Logged In: YES user_id=148712 Another symptom of the same bug: % set bar 1 1 % namespace eval foo upvar moo bar variable "bar" already exists The problem is that [upvar] is following the standard name resolution rules for the variable it creates; indeed related to the other bugs, I guess. TBC
msoferplain2003-03-25 04:31:08
Logged In: YES user_id=148712 Fixed in HEAD and core-8-4-branch by adding a special LOOKUP_FOR_UPVAR flag to the TclLookupSimpleVar interface.
Log in (anonymous is fine) to add a comment.