Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-20
01:50 • Ticket [218369ffff] test namespace-22.2 status still Closed with 4 other cha... artifact: 9531666712 user: dgp
2000-10-26
08:20 • Closed ticket [218369ffff]. artifact: 14f9a4e436 user: welch
00:56 • New ticket [218369ffff]. artifact: cbc1e3fd4b user: nobody

test namespace-22.2

Closed / Invalid218369ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:56:47
OriginalBugID: 4220 Bug
Version: 8.3
SubmitDate: '2000-02-22'
LastModified: '2000-02-22'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-SuSE
OSVersion: 6.3
Machine: AMD K7
FixedDate: '2000-10-25'
ClosedDate: '2000-02-22'


Name:
Andreas Otto

Comments:
Found by otto´s TCL Compiler
    
    We can work together to produce a real powerful TCL compiler
    
    mfg
    aotto :)

ReproducibleScript:
namespace eval test_ns_1 {
        proc cmd {} {return "test_ns_1::cmd"}
    }

-------------------------
namespace code {namespace inscope ::test_ns_1 cmd}
output:
=>namespace inscope ::test_ns_1 cmd

but

namespace code {namespace in ::test_ns_1 cmd}       or
namespace code {namespace ins ::test_ns_1 cmd}      or
namespace code {namespace insc sc::test_ns_1 cmd}
output:
=> namespace inscope :: {namespace in ::test_ns_1 cmd}    or
=> namespace inscope :: {namespace ins ::test_ns_1 cmd}    or
=> namespace inscope :: {namespace insc ::test_ns_1 cmd}



There's nothing wrong with these return values, Tcl has always
strived to allow the shortest unique substring of commands/methods. 
-- 02/22/2000 hobbs
welch Closed ticket [218369ffff]. [History diff]2000-10-26 08:20:09
dgp Ticket [218369ffff]: 4 changes [History diff]2001-04-20 01:50:07
Log in (anonymous is fine) to add a comment.