Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-08-17
15:25 • Closed ticket [7d52e1101b]: info class subclasses ::oo::object does not include ... artifact: 8e2089713a user: dkf
15:23
[7d52e1101b] oo::object should know that oo::class is a subclass. check-in: b3543267de user: dkf tags: trunk
2014-08-14
07:02 • Ticket [7d52e1101b] info class subclasses ::oo::object does not include ::oo::cl... artifact: 758ce394c0 user: dkf
2014-07-31
14:14 • Ticket [7d52e1101b]: 3 changes artifact: 0ba3569fdc user: apnadkarni
2014-07-22
09:58 • New ticket [7d52e1101b]. artifact: 0ea87eeec2 user: apnadkarni

info class subclasses ::oo::object does not include ::oo::class

Closed / Fixed7d52e1101b43089746af9a94aa1c5b5b249b3d45Created 12 years agoUpdated 12 years ago
Descriptionplain2014-07-22 09:58:00
(tcl) 49 % info class superclasses ::oo::class
::oo::object
(tcl) 50 % info class subclasses ::oo::object
::oo::Slot

I would have expected ::oo::class also to be included since its superclass is shown as ::oo::object.

Probably of no consequence as I only ran into it while trying to deepen my tcloo understanding. Nevertheless, logging as a bug in case it does matter in cases I have not thought of.
Referenced by1
apnadkarni Ticket [7d52e1101b]: 3 changes [History diff]2014-07-31 14:14:56
dkfhtml2014-08-14 07:02:10

Hmm, that definitely looks like a bug in the configuration of the oo::object subclass collection. (I worry about what fixing it will do to the cleanup code — things are a bit interlinked — but it definitely should be fixed.)

dkfhtml2014-08-17 15:25:38

OK, that should be sorted (it was a one-line fix, plus test). Sorry it took so long; had to confirm that adding the extra link did not cause memory cleanup problems.

Log in (anonymous is fine) to add a comment.