Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 993d96ab1b06c979b1bf30de9ec6b2562be1995a
Ticket: 458548ffffffffffffffffffffffffffffffffff
[proc] allows :: in arg names
User & Date: dgp on 2001-09-05 05:15:39
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    This can also lead to confusion when the
    argument containing namespace separators
    just happens to have the same name as
    an actual namespace variable:
    
    namespace eval one {
        proc foo two::x {
            set two::x
        }
    }
    
    puts "[catch {one::foo 1} msg] $msg"
    
    namespace eval one::two {
        variable x 2
    }
    
    puts "[catch {one::foo 1} msg] $msg"
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"