Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dda0e112a46a842ece7d87f8c2039bc0bcc172f1
Ticket: 3480249fffffffffffffffffffffffffffffffff
::errorInfo doesn't exist if no errors have occurred
User & Date: stwo on 2012-01-27 01:12:31
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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?
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "stwo"
  10. subsystem changed to: "38. Init - Library - Autoload"
  11. title changed to:
    ::errorInfo doesn't exist if no errors have occurred
    
  12. type changed to: "Bug"