Overview
| Artifact ID: | 780622e8dbbfaf1dadf08027d48d16e2794887e9 |
|---|---|
| Ticket: | 707104ffffffffffffffffffffffffffffffffff
[interp alias] overwrites [rename]d alias |
| User & Date: | dgp on 2004-09-10 01:21:40 |
Changes
- icomment:
Logged In: YES user_id=80530 Note an error in the original report. It purports to demonstrate that at one point both "bar" and "bar2" are active as the same alias. This is false. "bar2" is an alias, and "bar" is auto-expanded to "bar2" because the submitted demo is in an interactive tclsh. At any given time, any given alias has only one name. It is true, though, that aliases remember their original name, and get destroyed when that original name is re-used as another alias. Given that, it appears that a re-engineering of aliases so that they do not remember their original names, but [interp aliases] reports their current names should be possible. It seems that the code that implements [namespace ensemble] maps should be close to the right thing, needing only the added ability of command rewriting to go into another interp.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"