Skip to content
Tcl Source Code History Of Ticket 3609693
Login

History Of Ticket 3609693

Artifacts Associated With Ticket 3609693

  1. Ticket change [3aff957e59] (rid 112655) by pooryorick on 2013-04-01 13:41:41:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In the following script, $obj2 thinks the value of its $var1 is "val1"
      
      
      namespace import oo::*
      set obj [object new]
      objdefine $obj variable var1 
      objdefine $obj method m {} {
          set var1 val1
      }
      objdefine $obj method get {} {
          return $var1
      }
      
      $obj m
      $obj get
      set obj2 [oo::copy $obj]
      ${obj2}::my eval {
          set var1 val2
      }
      puts [$obj2 get]
      
      
    4. foundin initialized to: "current: 8.6.0"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pooryorick"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "copied object member variable confusion"
    12. type initialized to: "Bug"
  2. Ticket change [65569c49f7] (rid 102527) by dkf on 2013-04-01 23:46:05:

    1. icomment:
      Looks like there's a cached reference to the variable in the method implementation, which is indeed the case because that's how variable references in object-specific methods are bound. The method cloner needs work...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "dkf"
  3. Ticket change [e5beba6964] (rid 133168) by dkf on 2013-08-03 19:21:51:

    1. closer changed to: "nobody"
    2. comment changed to:
      In the following script, $obj2 thinks the value of its $var1 is "val1"
      
      
      namespace import oo::*
      set obj [object new]
      objdefine $obj variable var1 
      objdefine $obj method m {} {
          set var1 val1
      }
      objdefine $obj method get {} {
          return $var1
      }
      
      $obj m
      $obj get
      set obj2 [oo::copy $obj]
      ${obj2}::my eval {
          set var1 val2
      }
      puts [$obj2 get]
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. severity changed to: "Important"
  4. Ticket change [0a1bef4d34] (rid 133394) by dkf on 2013-08-21 09:38:47:

    1. icomment:
      Committed a test to branch bug-3609693, but the code I've got to try and fix this crashes quite a distance away; I'm doing something wrong, but I don't know what.
      
    2. login: "dkf"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "dkf"
  5. Ticket change [68e0d967a9] (rid 133752) by dkf on 2013-09-09 13:37:24:

    1. closedate changed to: "2456545.06764601"
    2. closer changed to: "dkf"
    3. icomment:
      Ah! Needed to strip the internal representation from the body to prevent some strange things from happening. Fixed now.
      
    4. login: "dkf"
    5. mimetype: "text/html"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"
  6. Ticket change [b37a9cce49] (rid 133753) by dkf on 2013-09-09 14:02:05:

    1. closer changed to: "nobody"
    2. icomment: "Damn. This breaks itcl completely."
    3. login: "dkf"
    4. mimetype: "text/html"
    5. resolution changed to: "None"
    6. status changed to: "Open"
    7. username: "dkf"
  7. Ticket change [c8c18b8322] (rid 133758) by dkf on 2013-09-09 14:13:42:

    1. closedate changed to: "2456545.0928556"
    2. closer changed to: "dkf"
    3. icomment:
      False alarm; that crash happens without this change too. Whatever's going on, it's not this.
      
    4. login: "dkf"
    5. mimetype: "text/html"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"