Ticket UUID: | 3400658 | |||
Title: | OO forwarding - cosmetic defect on 'incorrect args' | |||
Type: | Bug | Version: | obsolete: 8.6b2 | |
Submitter: | rsooltan | Created on: | 2011-08-30 10:50:35 | |
Subsystem: | 35. TclOO Package | Assigned To: | dkf | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2011-09-11 01:08:51 | |
Resolution: | Fixed | Closed By: | dkf | |
Closed on: | 2011-09-10 18:08:51 | |||
Description: |
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. | |||
User Comments: |
dkf added on 2011-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. dkf added on 2011-08-30 21:21:17: Hmm, maybe I'm not initializing the error message rewriting quite correctly. rsooltan added on 2011-08-30 17:50:37: File Added - 422353: oo_forward_cosmetic.tcl |
Attachments:
- oo_forward_cosmetic.tcl [download] added by rsooltan on 2011-08-30 17:50:36. [details]