Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 313f51e7939563778731496fd82942134b2bd637
Ticket: 2383005fffffffffffffffffffffffffffffffff
return -errorcode accepts non-list argument
User & Date: dgp on 2008-12-03 15:00:39
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % string is list "not \{ a list"
    0
    % catch {return -code error -errorcode "not \{ a list"} m o
    2
    % set m
    % set o
    -errorcode not\ \{\ a\ list -code 1 -level 1
    
    The documentation is clear in
    return.n that -errorcode option
    takes a list argument.
    
    TclMergeReturnOptions() is failing to
    check that.
    
    
  4. foundin changed to: "obsolete: 8.5.5"
  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: "dgp"
  10. subsystem changed to: "45. Parsing and Eval"
  11. title changed to: "return -errorcode accepts non-list argument"
  12. type changed to: "Bug"