Overview
| Artifact ID: | 93d4c65a20d7d83756b342322a50ce26f7ba24bc |
|---|---|
| Ticket: | 707104ffffffffffffffffffffffffffffffffff
[interp alias] overwrites [rename]d alias |
| User & Date: | vincentdarley on 2003-03-21 15:48:24 |
Changes
- icomment:
Logged In: YES user_id=32170 The 'rename' man page needs updating then to reflect this limitation. It's a shame that aliases don't work in this way, since they are otherwise a very powerful part of Tcl. However, they completely break the semantics of a Tcl command, which is bad! Is there any reason 'interp aliases' can't return the *current* name of the alias, which users can quite happily iterate over. I wouldn't even see this as a back-compatibility issue, but as a bug fix. After all: proc foo {} {} rename foo bar info procs foo # should obviously not return 'foo' So, similarly interp alias {} foo {} implementation rename foo bar interp aliases # should not return foo either - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"