OO forwarding - cosmetic defect on 'incorrect args'
Closed / Fixed3400658fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-08-30 10:50:35
When the incorrect number of args are passed to a forwarded method where the command is a method of the same class, the usual 'incorrect number of args' is displayed but the first argument apears truncated in the response, possibly due to the use of 'my' and how this is handled by TCL core since this is what is indicated in 'tclOOInt.h' with regard to fwd'd methods. Whilst not impacting it may affect usability/debugging where one wishes to write extensions in TclOO for community release.
rsooltanplain2011-08-30 17:50:37
File Added - 422353: oo_forward_cosmetic.tcl
dkfplain2011-08-30 21:21:17
Hmm, maybe I'm not initializing the error message rewriting quite correctly.
dkfplain2011-09-11 01:08:51
allow_comments - 1 Yep, was an off-by-one error in some (rather complex) argument rewriting code. All fixed now, both in 8.6 and the package-for-8.5.
Log in (anonymous is fine) to add a comment.
Attachments:
- oo_forward_cosmetic.tcl [download] added by rsooltan on 2011-08-30 17:50:36. [details]