Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 582b88eca774db48a09f480a6261093c50299f07
Ticket: 558299ffffffffffffffffffffffffffffffffff
restrict use of proc argument named args
User & Date: lvirden on 2002-05-20 14:46:02
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I would like to request a new feature where by the
    only valid use of a proc argument called 'args' is as
    the last argument of the proc.  It need not of course
    be present at all - but if it is present, the change
    would require args to be the last argument.
    
    In this way, changes to proc definitions by non-savvy
    tcl programmers do not break the Tcl behavior of
    treating args special if it is the last argument. 
    Also, use of args as a 'normal' proc argument is
    prevented - otherwise, tcl programmers seeing the
    variable may expect a list of remaining arguments when
    in fact they are only getting one argument.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "lvirden"
  9. subsystem changed to: "22. [proc] and [uplevel]"
  10. title changed to: "restrict use of proc argument named args"
  11. type changed to: "RFE"