|
2008-08-04
| ||
| 11:49 | • Closed ticket [2037338fff]: TEBC direct eval fallback mishandles -errorinfo ... artifact: 8be0af7608 user: dgp | |
| 04:35 | • New ticket [2037338fff]. artifact: 5eef85119d user: dgp | |
TEBC direct eval fallback mishandles -errorinfo
Closed / Fixed2037338fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-08-04 04:35:15
This new test fails in 8.5 and later:
test execute-8.4 {Compile epoch bump effect on stack trace} -setup {
proc foo {} {
error bar
}
proc FOO {} {
catch {error bar} m o
rename ::set ::dummy
rename ::dummy ::set
return -options $o $m
}
} -body {
catch foo m o
set stack1 [dict get $o -errorinfo]
catch FOO m o
set stack2 [string map {FOO foo} [dict get $o -errorinfo]]
expr {$stack1 eq $stack2 ? {} : "These differ:\n$stack1\n$stack2"}
} -cleanup {
rename foo {}
rename FOO {}
} -result {}
Bug was uncovered tracking down Bug
2023112 on the HEAD which involved
the new TclOO code. This test confirms
the bug doesn't require OO as a trigger.
dgpplain2008-08-04 11:49:48
Logged In: YES user_id=80530 Originator: YES fixed for 8.5.4 and 8.6a2
Log in (anonymous is fine) to add a comment.