Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8e9528deec03dc39151da276a0bf944a5448dfdf
Ticket: 986195ffffffffffffffffffffffffffffffffff
TclWordKnownAtCompileTime copies word, not value
User & Date: kennykb on 2004-07-06 20:14:28
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    test cmdMZ-return-2.15 {return opton handling} -setup {
            proc p {} {
                return -code error -errorcode {a b} c
            }
        } -body {
            list [catch p result] $result $::errorCode
        } -cleanup {
            rename p {}
        } -result {1 c {a b}}
    
    gives an extra pair of braces around the error code.
    On the other hand,
    
    test cmdMZ-return-2.16 {return opton handling} -setup {
            proc p {} {
                return -code error -errorcode [list a b] c
            }
        } -body {
            list [catch p result] $result $::errorCode
        } -cleanup {
            rename p {}
        } -result {1 c {a b}}
    
    gives the expected result
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kennykb"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to: "return -errorcode is sensitive to internal rep"
  11. type changed to: "Bug"