Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 30931ce69a1c7f095253b9ff8210c3a51e7576d9
Ticket: 3603695fffffffffffffffffffffffffffffffff
TclOO: varnames incorrect when used from other object method
User & Date: taylor_venable on 2013-02-07 12:04:39
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When using oo::object's varname method on an object within the context of another object's method, [$other varname x] returns as if invoked as [my varname x]. Changing the context (e.g. by using [uplevel #0 $other varname x]) returns the correct result. Example code and output attached.
    
    Tcl Version: 8.6.0
    TclOO Version: 1.0
    OS Platform & Version: Linux 3.5.7
    
  4. foundin changed to: "current: 8.6.0"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "taylor_venable"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to:
    TclOO: varnames incorrect when used from other object method
    
  12. type changed to: "Bug"