Artifacts Associated With Ticket 2903811fffffffffffffffffffffffffffffffff
Ticket change [56b87ea0df] (rid 94369) by dkf on 2009-11-25 15:45:50:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The following script fails: oo::object create obj oo::objdefine obj export variable proc foo o {o variable x; set x OK} proc bar o {o variable x; return $x} foo obj; bar obj Reading the documentation in the object(n) manual page would not lead you to this conclusion. The problem appears to be a guard inside the implementation that makes the method only work inside the body of a method instead of any normal stack context (like [global]). Arguably, it might even be beneficial to allow it to work in namespaces... - foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dkf"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "oo::object->variable working wrong"
- type initialized to: "Bug"
Ticket change [1f457240b6] (rid 91121) by dkf on 2009-11-25 23:27:12:
- priority changed to: "7 High"
Ticket change [ccb3ab2127] (rid 95745) by dkf on 2009-11-27 13:39:28:
- closedate changed to: "2009-11-27T06:39:28"
- closer changed to: "dkf"
- icomment:
allow_comments - 1
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"