Overview
| Artifact ID: | 0df63a1635a5890a605393f97d737af84e5a49f8 |
|---|---|
| Ticket: | 1960703fffffffffffffffffffffffffffffffff
Chaining mixins fails |
| User & Date: | pertronic on 2008-05-09 03:50:50 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed 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 - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "pertronic"
- subsystem changed to: "35. TclOO Package"
- title changed to: "Chaining mixins fails"
- type changed to: "Bug"