|
2012-01-27
| ||
| 21:32 | • Closed ticket [3480249fff]: ::errorInfo doesn't exist if no errors have occu... artifact: 0fdcb9075d user: dgp | |
| 01:12 | • New ticket [3480249fff]. artifact: dda0e112a4 user: stwo | |
::errorInfo doesn't exist if no errors have occurred
Closed / Duplicate3480249fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-01-27 01:12:31
As of Tcl 8.5.10 (or perhaps earlier) the ::errorInfo variable no longer exists by default.
$ tclsh8.5
% info patchlevel
8.5.10
% set ::errorInfo
can't read "::errorInfo": no such variable
This may cause problems with software that expects ::errorInfo to always exist.
In this example, init.tcl is the source of the error report.
$ tclsh8.5
% pa re http
2.7.6
% set ::errorInfo
can't read "::errorInfo": no such variable
while executing
"set savedErrorInfo $::errorInfo"
Should ::errorInfo always be set?
dgpplain2012-01-27 21:32:32
allow_comments - 1 Bug 2824981.
Log in (anonymous is fine) to add a comment.