|
2011-09-16
| ||
| 20:38 | • Closed ticket [3408830fff]: Itcl failed test regressions plus 8 other change... artifact: 9fe6162b18 user: dkf | |
| 20:38 | • Ticket [3408830fff]: 4 changes artifact: 7837172dff user: dkf | |
| 20:06 | • Ticket [3408830fff]: 4 changes artifact: 8729a84f8f user: dkf | |
|
2011-09-13
| ||
| 18:11 | • New ticket [3408830fff]. artifact: f0d4947a18 user: dgp | |
Itcl failed test regressions
Closed / Fixed3408830fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-09-13 18:11:55
These tests are failing starting with 3028445c87 :
typedelegation.test
==== dmethod-1.4 delegating to existing component with error FAILED
==== Contents of test case:
type dog {
constructor {args} {
set string string
}
delegate method length to string
}
dog create spot
spot length foo bar
---- Result was:
wrong # args: should be "spot length foo string"
---- Result should have been (exact matching):
wrong # args: should be "spot length string"
==== dmethod-1.4 FAILED
eclasscomponent.test
==== delegatemethod-1.3 delegating to existing component with error FAILED
==== Contents of test case:
::itcl::extendedclass dog {
# component string
delegate method length to string
constructor {} {
set string string
}
}
dog fido
fido length foo bar
---- Result was:
wrong # args: should be "fido length foo string"
---- Result should have been (exact matching):
wrong # args: should be "fido length string"
==== delegatemethod-1.3 FAILED
dkfplain2011-09-16 20:06:05
Damn! I'd have caught this earlier if itcl was part of the checkout. (Bug 3400658 isn't what I thought it was; it's actually a bug in tclProc.c!)
dkfplain2011-09-16 20:38:01
Fixed in Tcl 8.6; with 8.5, it's still broken and will be until the next release of 8.5 (it's not a problem that the TclOO package can fix; it's correct).
dkfplain2011-09-16 20:38:34
allow_comments - 1
Log in (anonymous is fine) to add a comment.