Skip to content
Tcl Source Code History Of Ticket 3045010fffffffff
Login

History Of Ticket 3045010fffffffff

Artifacts Associated With Ticket 3045010fffffffff

  1. Ticket change [034a12ea47] (rid 119799) by andygoth on 2010-08-14 18:36:49:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      [apply]'s "wrong # args" error message is impractically long, because it contains the full lambda.  I imagine this is a consequence of using Tcl_WrongNumArgs() with objc=2.  For example:
      
      apply {{msg rep} {
          for {set i 0} {$i < $rep} {incr i} {
              puts $msg
          }
      }}
      
      gives the error:
      
      wrong # args: should be "apply {{msg rep} {
          for {set i 0} {$i < $rep} {incr i} {
              puts $msg
          }
      }} msg rep"
      
      I suggest omitting the lambda, since the only relevant part (the parameter list) is repeated at the end of the error anyway.  In my example, this would be simply:
      
      wrong # args: should be "apply lambdaExpr msg rep"
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "andygoth"
    10. subsystem initialized to: "16. Commands A-H"
    11. title initialized to: "[apply]: overlong "wrong # args" error"
    12. type initialized to: "Bug"
  2. Ticket change [255f6c7abe] (rid 88162) by andygoth on 2010-08-15 08:34:10:

    1. foundin changed to: "obsolete: 8.6b1.1"
  3. Ticket change [c9376d4347] (rid 122245) by dkf on 2010-08-15 18:12:56:

    1. subsystem changed to: "22. [proc] and [uplevel]"
  4. Ticket change [d32189153b] (rid 113643) by dkf on 2010-08-15 23:16:55:

    1. closedate changed to: "2010-08-15T16:16:55"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      fixed on HEAD and 8.5 branch
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"