Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5a5b06423644193324aab18a004fdb7b9e965f11d5b16cd3ded3ff53df453c34
Ticket: 1a56550e961f282b52a99194a4d1c9ae1c4bc5d1
Method list introspection misses mixins
User & Date: dkf on 2017-10-18 15:53:49
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/html"
  4. comment changed 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.
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "dkf"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dkf"
  13. subsystem changed to: "35. TclOO Package"
  14. title changed to: "Method list introspection misses mixins"
  15. type changed to: "Bug"