Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9b9d9a15b785a6af223e459af6cb6308347bb3a7
Ticket: ef422602e77616a686549b20985e0e5bf8296eaa
TclOO oo::objdefine variable
User & Date: aspect on 2016-07-05 05:00:22
Changes

  1. closedate changed to: "2457574.70859391"
  2. closer changed to: "aspect"
  3. icomment:
    This is behaving as intended, though it might be surprising without a close reading of http://www.tcl.tk/man/tcl/TclCmd/define.htm#M30 to see:
    
    > This slot (see SLOTTED DEFINITIONS below) arranges for each of the named variables to be automatically made available in the methods declared by the object being defined.
    
    oo::define variable - makes variables automatically visible in methods defined on the same class.
    
    oo::objdefine variable - makes variables automatically visible in methods defined _on the object_.
    
    https://wiki.tcl.tk/41708 and particularly http://www.magicsplat.com/articles/oo.html deal with this in more detail.
    
  4. login: "aspect"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"