Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.