Skip to content
Tcl Source Code History Of Ticket 2120903
Login

History Of Ticket 2120903

Artifacts Associated With Ticket 2120903

  1. Ticket change [ed61d9d770] (rid 103870) by nobody on 2008-09-20 19:25:43:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Linux debsam 2.6.18-6-k7 #1 SMP Mon Aug 18 09:20:26 UTC 2008 i686 GNU/Linux
      
      Tcl: 8.6a3
      
      ### source ###
      oo::class create MyClass {
         method toString {} {
            return "str"
         }
      
         method isa {o} {
            return [MyClass toString $o]
         }
      
         self {
            method toString {obj} {
               return [$obj toString]
            }
         }
      }
      
      MyClass create o1
      MyClass create o2
      
      puts [MyClass toString o1]
      puts [o1 toString]
      puts [o1 isa o2]
      
      ### output ###
      str
      str
      wrong # args: should be "MyClass toString"
          while executing
      "MyClass toString $o"
          (class "::MyClass" method "isa" line 2)
          invoked from within
      "o1 isa o2"
          invoked from within
      "puts [o1 isa o2]"
      
      
    4. foundin initialized to: "obsolete: 8.6a3"
    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: "nobody"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "unsettled class and object methods"
    12. type initialized to: "Bug"
  2. Ticket change [ba377ee094] (rid 129286) by dkf on 2008-09-21 13:37:48:

    1. icomment:
      I can't duplicate this exactly; things go wrong differently in my sandbox. Very bad nonetheless!
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [0463ffbe2a] (rid 119995) by dkf on 2008-09-21 13:37:49:

    1. priority changed to: "9 Immediate"
  4. Ticket change [5747372103] (rid 94458) by dkf on 2008-09-24 21:08:05:

    1. icomment:
      Appears to be due to shared literals. Which means that there's a mixup in the cache/intRep invalidation. Confirmed critical bug.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [8dcee16a67] (rid 128001) by dkf on 2008-09-25 19:09:33:

    1. closedate changed to: "2008-09-25T12:09:33"
    2. closer changed to: "dkf"
    3. icomment:
      Turned out that an important bit was not being saved or compared in the cache management. All fixed now.
      
      (Thanks very much for the example; helped me write a reliable test for this problem.)
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"