Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 7c6098ffd9e82c59f2562c109c6eb1aa7b09080b
Ticket: 35fdc88036489d43b4dd1b326527dc0bd7762bf7
proc: disallow duplicated parameter names in arg spec
User & Date: avl42 2017-02-23 13:15:12
Changes

  1. icomment:
    Interestingly, while Tcl 8.6 was changed to disallow non-optional arguments following optional arguments, it didn't address non-unique names in the same wash.
    
    Btw., your expectation ("it'll just discard the first two args at run time") is not the right one, because instead it only uses the first one of the values.
    
  2. login: "avl42"
  3. mimetype: "text/plain"
  4. username: "It was noticed, but so far inertia won..."