Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f47c83d0e336c8c444f847fc3cde241cf784229c
Ticket: 1493a4304444fcfbe6ed72638f404431e03a39d7
namespace upvar / TclOO problem
User & Date: beric on 2016-05-29 07:45:58
Changes

  1. icomment:
    Debugging the non-bytecoded path, here is the stack of [namespace upvar]:
    
      ProcedureMethodCompiledVarConnect
      ProcedureMethodVarResolver
      TclLookupSimpleVar
      TclObjLookupVarEx
      NamespaceUpvarCmd
    
    ProcedureMethodCompiledVarConnect returns the Var bound to "member1" of Child class, while [namespace upvar] is asking for a specific context (Master namespace).
    
    Note that the bug is not present in 8.5.18 / TclOO 1.0.2.
    
  2. login: "beric"
  3. mimetype: "text/plain"