Artifacts Associated With Ticket 2120903
Ticket change [ed61d9d770] (rid 103870) by nobody on 2008-09-20 19:25:43:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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]" - foundin initialized to: "obsolete: 8.6a3"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "unsettled class and object methods"
- type initialized to: "Bug"
Ticket change [ba377ee094] (rid 129286) by dkf on 2008-09-21 13:37:48:
- icomment:
I can't duplicate this exactly; things go wrong differently in my sandbox. Very bad nonetheless!
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [0463ffbe2a] (rid 119995) by dkf on 2008-09-21 13:37:49:
- priority changed to: "9 Immediate"
Ticket change [5747372103] (rid 94458) by dkf on 2008-09-24 21:08:05:
- icomment:
Appears to be due to shared literals. Which means that there's a mixup in the cache/intRep invalidation. Confirmed critical bug.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [8dcee16a67] (rid 128001) by dkf on 2008-09-25 19:09:33:
- closedate changed to: "2008-09-25T12:09:33"
- closer changed to: "dkf"
- 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.)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"