Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 5580f4feca58c08b0ae1e80fbdced767d745dbb3
Ticket: d679822510fac5859ab3cf093527cc1ad5b93210
uuid (illegally) accesses an uplevel variable
User & Date: aku 2014-06-27 06:15:50
Changes

  1. assignee changed to: "aku"
  2. icomment:
    Confirmed. Thank you for the report.
    
    Ah. This particular type of problem has the name
    
        "creative writing (of a global variable)".
    
    Due to a missing 'variable' declaration for X the core's var resolution is in the global namespace when it finally comes to the creation of the variable X.
    
    Given that we have more Tcllib packages than just "uuid" using the LoadAccelerator pattern to detect and choose among multiple implementations of their functionality this means we may have more instances of this problem lurking. Review of all places in Tcllib with this will be required.
    
  3. login: "aku"
  4. mimetype: "text/plain"
  5. priority changed to: "7 High"