Overview
| Artifact ID: | cfa9fc3e0f114347a26a5d2702877c7c68203eec |
|---|---|
| Ticket: | 2935659fffffffffffffffffffffffffffffffff
info class forward returning error instead of empty list |
| User & Date: | dzach on 2010-01-20 15:20:52 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
[info class forward className methodName] returns an error "prefix argument list not available for this kind of method" when it is used on a methodName that has no forward defined for it. The documentation states: "info class forward class method This subcommand returns the argument list for the method forwarding called method that is set on the class called class. " So, one would expect to get an empty list if there is no forward defined for a class, since there is no other way of introspecting a class method for any forwards. The error given cannot be remedied by the programmer, since there is nothing one can do but use an unecessary [catch] to avoid it. Not having a forward is not an error for a method. An empty list would convey the same meaning with the error message, i.e. the unavailability of an argument list, but in a non-exceptional manner.
- foundin changed to: "obsolete: 8.6b1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dzach"
- subsystem changed to: "35. TclOO Package"
- title changed to:
info class forward returning error instead of empty list
- type changed to: "RFE"