Overview
| Artifact ID: | da14460f9ff45632096cb56b5a3378f198fb38c0 |
|---|---|
| Ticket: | 1017022fffffffffffffffffffffffffffffffff
imported ensembles are not recognized |
| User & Date: | dgp on 2004-08-26 16:49:39 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
% namespace eval foo { namespace ensemble create -command foo -subcommands bar namespace export foo proc bar args {puts bar} } % namespace import foo::foo % foo bar bar % namespace ensemble exists foo 0 % namespace ensemble exists foo::foo 1 So [namespace ensemble exists] recognizes that [foo::foo] is an ensemble, but it insists that [foo] is not, even though they are two names of the same command. Contrast this with [info proc]: namespace eval foo { namespace export bar proc bar {} {} } % namespace import foo::bar % info procs bar bar % info procs foo::bar ::foo::bar So [proc]-iness is a property that both original commands and imported command share, but [ensemble]-ness is a property that imported commands lack, while original commands have. This seems inconsistent. - foundin changed to: "obsolete: 8.5a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "21. [namespace]"
- title changed to: "imported ensembles are not recognized"
- type changed to: "Bug"