Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 340093bddb51d3e13cd2eff75055320aaf2df3c3
Ticket: 3530007fffffffffffffffffffffffffffffffff
(Dummy) arguments of a proc with same name
User & Date: zoltan3 on 2012-05-26 20:57:14
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    "proc a {a a} {puts $a} ; a 1 2" writes "1" to stdout. Generally, args with identical names are placeholders, but this result is weird. E.g. "foreach {a a} {1 2} {puts $a}" writes "2" to stdout, so, I would see "2" by the proc "a" too.
    Anyway, the documentation should contain the correct behavior, I think.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "zoltan3"
  10. subsystem changed to: "22. [proc] and [uplevel]"
  11. title changed to: "(Dummy) arguments of a proc with same name"
  12. type changed to: "Patch"