Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7892045191ecad52ebebc6fdd4742d5c069afd30
Ticket: 2383005fffffffffffffffffffffffffffffffff
return -errorcode accepts non-list argument
User & Date: ferrieux on 2010-03-18 06:06:45
Changes

  1. icomment:
    Tiny attached patch barfs on non-list passed to [return -errorcode].
    However, the exact error message is still [return]'s main argument (since it is called with -code error), because the caller of TclProcessReturn sets the interp result later.
    Maybe some kind of signalling should be devised to tell it about this special situation.
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"