Overview
| Artifact ID: | e8fb214910c24d32c0b8a56da5dc0bd06421ae5f |
|---|---|
| Ticket: | ad6696285cacae8f785f394af0f637c2806b66ee
TclOO filters called for unknown and destructors |
| User & Date: | apnadkarni on 2014-07-22 03:25:36 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I'm not sure whether this is a documentation bug, an implementation one. The documentation states "Filters are not invoked when processing an invocation of the unknown method because of a failure to locate a method implementation, or when invoking either constructors or destructors." However, the sample below shows filters are called for unknown and for destructors (though apparently not for constructors). (tcl) 76 % oo::class create C { method m {} {puts m} method f {args} {puts f; next {*}$args} filter f method unknown {meth args} {puts unknown} } ::C (tcl) 77 % C create o ::o (tcl) 78 % o m f m (tcl) 79 % o n f unknown (tcl) 80 % (tcl) 80 % o destroy f - foundin changed to: "8.6.1"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "35. TclOO Package"
- title changed to: "TclOO filters called for unknown and destructors"
- type changed to: "Bug"