Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5921386c4e712b8966757fdd8165842b6ac88ec0
Ticket: 1583266fffffffffffffffffffffffffffffffff
Tcl_WrongNumArgs quotes too much
User & Date: msofer on 2006-10-24 00:35:05
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The new details in apply invocation hit a quoting bug
    in Tcl_WrongNumArgs: see the test failures 
    
    ==== apply-4.1 error in arguments to lambda expression
    FAILED
    ==== Contents of test case:
    
        set lambda [list x {set x 1}]
        set res [catch {apply $lambda} msg]
        list $res $msg
    
    ---- Result was:
    1 {wrong # args: should be "apply {{x {set x 1}}} x"}
    ---- Result should have been (exact matching):
    1 {wrong # args: should be "apply {x {set x 1}} x"}
    ==== apply-4.1 FAILED
    
    
    
    ==== apply-4.2 error in arguments to lambda expression
    FAILED
    ==== Contents of test case:
    
        set lambda [list x {set x 1}]
        set res [catch {apply $lambda x y} msg]
        list $res $msg
    
    ---- Result was:
    1 {wrong # args: should be "apply {{x {set x 1}}} x"}
    ---- Result should have been (exact matching):
    1 {wrong # args: should be "apply {x {set x 1}} x"}
    ==== apply-4.2 FAILED
    
    
  4. foundin changed to: "obsolete: 8.5a6"
  5. is_private changed to: "0"
  6. priority changed to: "8"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "45. Parsing and Eval"
  11. title changed to: "Tcl_WrongNumArgs quotes too much"
  12. type changed to: "Bug"