Overview
| Artifact ID: | 09729ce910920c84eb680f35e76d00e37ff741a6 |
|---|---|
| Ticket: | 707104ffffffffffffffffffffffffffffffffff
[interp alias] overwrites [rename]d alias |
| User & Date: | vincentdarley on 2003-03-20 20:05:39 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
I see some very peculiar behaviour with aliased commands, which is at the very least not documented, and possible a bug: % proc foo {} { puts "orig" } % interp alias {} bar {} foo % bar orig % rename bar bar2 % bar2 orig % bar orig # (So now both 'bar' and 'bar2' are aliases, i.e. 'rename' actually copies the alias rather than renaming it) % proc foo2 {} { puts "new" } % interp alias {} bar {} foo2 % bar new % bar2 invalid command name "bar2" # (So the act of creating a new alias "bar" deletes both the old aliases "bar" and "bar2") - foundin changed to: "obsolete: 8.4.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vincentdarley"
- subsystem changed to: "20. [interp]"
- title changed to: "disappearing 'interp alias' commands"
- type changed to: "Bug"