Artifacts Associated With Ticket 1a56550e96
Ticket change [5a5b064236] (rid 157158) by dkf on 2017-10-18 15:53:49:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/html"
- comment initialized to:
If we run this code which has <i>mixins in a superclass of the class of interest</i>: <dl><dd><pre> oo::class create C { method c {} {} } oo::class create D { mixin C method d {} {} unexport destroy } oo::class create E { superclass D method e {} {} } puts [info class methods E -all] E create e1 puts [info object methods e1 -all] </pre></dl> We see that both of the introspectors find <tt>d</tt> and <tt>e</tt> but not <tt>c</tt>. This is not correct; the introspection should find all three. - foundin initialized to: "8.6"
- is_private initialized to: "0"
- login: "dkf"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dkf"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "Method list introspection misses mixins"
- type initialized to: "Bug"
Ticket change [1b31495b3b] (rid 157163) by dkf on 2017-10-18 16:07:04:
- assignee changed to: "dkf"
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "8"
Ticket change [ead140557a] (rid 157178) by dkf on 2017-10-19 09:28:53:
- closedate changed to: "2458045.89506909"
- closer changed to: "dkf"
- icomment:
The traversal of the mixin links was in the wrong place relative to the tail-recursive unrolling inside <tt>AddClassMethodNames</tt> inside tclOOCall.c; the mixin would have been found if the class into which it had been mixed had two (or more) ordinary superclasses. Rearranging the code and adding a separate mechanism for determining how to avoid excess work seems to fix it.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Fixed"
- status changed to: "Closed"