Overview
| Artifact ID: | 4cbc9169d3394505847b12a39722e164d4e10604 |
|---|---|
| Ticket: | 1959483fffffffffffffffffffffffffffffffff
magic empty body misfeature |
| User & Date: | dgp on 2008-05-07 12:45:18 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
As mentioned before: http://aspn.activestate.com/ASPN/Mail/Message/tcl-core/3316773 % namespace path oo % object create foo ::foo % define foo method x {} {} % foo x unknown method "x": must be destroy Contrast with: % define foo method w {} {#} % foo w % This is a repeat of the misfeature of [bind] to give magic treatment to a perfectly valid body value -- the empty string. It's analogous to the [rename $cmd {}] misfeature that similarly abuses a perfectly valid command name. I'd prefer an [undefine] command to destroy method definitions, analogous to the [unset] command, where we've properly not given magic unsetting properties to [set v {}]. - 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: "dgp"
- subsystem changed to: "35. TclOO Package"
- title changed to: "magic empty body misfeature"
- type changed to: "RFE"