Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 14369d61f03a19ca05d3c84971e3f668ab58a4792f6c777a738289e6e3ab2177
Ticket: 2da1cb0c808499bbd1d37e3a50291a26f8a46e14
[$obj varname] handling of linked variables
User & Date: dgp on 2018-05-08 13:57:08
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    % set o [oo::object new]
    ::oo::Obj11
    % oo::objdefine $o export eval varname
    % $o eval {namespace upvar :: nosuch test}
    % $o varname test
    ::nosuch
    
    Why not '::oo::Obj11::test' ?
    
    % $o eval {namespace upvar :: tcl_platform(platform) foo}
    % $o varname foo
    %
    
    Why not '::tcl_platform(platform)' ?
    
    Or why not '::oo::Obj11::foo' ?
    
    Is this behavior sensible? What should sensible behavior be and why?
    
  5. is_private changed to: "0"
  6. login: "dgp"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Important"
  10. status changed to: "Open"
  11. submitter changed to: "dgp"
  12. subsystem changed to: "35. TclOO Package"
  13. title changed to: "[$obj varname] handling of linked variables"
  14. type changed to: "Bug"