Skip to content
Tcl Source Code History Of Ticket 1960703fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1960703fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1960703fffffffffffffffffffffffffffffffff

  1. Ticket change [0df63a1635] (rid 94523) by pertronic on 2008-05-09 03:50:50:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In the following testcase I expect A's method egg to be called.  However it fails with error 
      "unknown method "egg": must be bar, destroy, egg, eval, ..."
      while executing
      "my egg"
          (class "::B" method "bar" line 3)
          invoked from within
      "my bar"
          (class "::C" method "foo" line 3)
          invoked from within
      "$o foo"
          (file "oo_bug2.tcl" line 27)
      
      Note: the method name egg is displayed as being a known method.
      
      package require TclOO
      namespace import oo::*
      
      # using TclOO 0.2 with Tcl 8.5.2
      
      class create A {
      method egg {} {
      }
      }
      
      class create B {
      method bar {} {
      # mixin from A: fails
      my egg
      }
      }
      
      class create C {
      method foo {} {
      # mixin from B
      my bar
      }
      }
      
      define B mixin A
      define C mixin B
      
      set o [C new]
      $o foo
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pertronic"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "Chaining mixins fails"
    12. type initialized to: "Bug"
  2. Ticket change [705405f41e] (rid 100456) by dkf on 2008-05-11 17:36:38:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Confirmed with HEAD. Doubly serious because it is inconsistent with the error message!
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [f8232d7cf5] (rid 91487) by dkf on 2008-05-11 17:36:39:

    1. priority changed to: "9 Immediate"
  4. Ticket change [15084a77e1] (rid 124497) by dkf on 2008-05-11 23:23:36:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Now fixed
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [b480d37a5f] (rid 125049) by dkf on 2008-05-11 23:23:37:

    1. closedate changed to: "2008-05-11T16:23:37"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"