Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f1205302b38167e0721a5e1c92b26e37a7716b31
Ticket: 1574835fffffffffffffffffffffffffffffffff
wrong#args problem in [apply] guts
User & Date: msofer on 2006-10-12 08:39:11
Changes

  1. icomment:
    
    
    File Added - 197791: 1574835.diff
    
    Logged In: YES 
    user_id=148712
    
    Attached a patch that fixes this particular issue, but
    raises some others. It uses ns-ensemble's machinery.
    
    New test failures:
    
    apply-4.1,2: Tcl_WrongNumArgs is quoting where it shouldn't. 
    
    ---- 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-6.2,3: [info level] does not know about ensemble
    rewriting. I think it should.
    
        set lambda [list args {info level 0}]
        apply $lambda x y
    ---- Result was:
    {args {info level 0}} x y
    ---- Result should have been (exact matching):
    apply {args {info level 0}} x y
    
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"