Overview
| Artifact ID: | fcbf23bfbc3c57c5912f004a6012b3690e90865f |
|---|---|
| Ticket: | 959786ffffffffffffffffffffffffffffffffff
bug in varName resolution |
| User & Date: | msofer on 2004-05-25 09:34:38 |
Changes
- icomment:
Logged In: YES user_id=148712 The options to deal with this problem are: (1) do nothing, break compat [even though I think it is bug-compat, I'm not recomending this, just stating it is an option] (2) revert the fix for Bug #959052; restore backwards compat completely. This could show a resurgence of Bug #736729 under some conditions - as the cached variable names can keep the variable name in the hash table. To be completely safe, the variable name caching could be disabled again (as in 8.4), slowing the lookup of some variables by a factor of 3. (3) Let 'global' and 'upvar' set the VAR_NAMESPACE_VAR flag, so that a variable referred to by another variable is always findable by [namespace which -variables] and (new!) by [info vars]. Note that at present [info vars] finds refernces by [variable], but not by [global] or [upvar]. This restores consistency between [ns which] and [info vars] differently, but might break other scripts in a similar manner to this one?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"