Skip to content
Tcl Source Code History Of Ticket c3d956be5b
Login

History Of Ticket c3d956be5b

Artifacts Associated With Ticket c3d956be5b

  1. Ticket change [c95ffb8544] (rid 147048) by pointsman on 2016-06-21 23:32:11:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      proc foo { {arg1 default} arg2} {
        puts $arg1
      }
      foo
      
      => wrong # args: should be "foo ?arg1? arg2"
      
      It would be more to the point, if the error message reads "should be
      "foo arg1 arg2"". But more than that: man n proc tells at the end of
      the first paragraph of the description:
      
         Arguments with default values that are followed by non-defaulted
         arguments become required arguments. In 8.6 this will be considered
         an error.
      
      Seems, they are not. Since I'm fine with the situation, as they was up
      to 8.6 (arguments with default values that are followed by
      non-defaulted arguments become required arguments) simplest solution
      would be to adjust the documentation (remove "In 8.6 this will be
      considered an error") until the implementation is already there.
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "pointsman"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "pointsman"
    14. subsystem initialized to: "22. [proc] and [uplevel]"
    15. title initialized to: "[proc] doesn't work as documented"
    16. type initialized to: "Bug"
  2. Ticket change [4da6462d10] (rid 147168) by dkf on 2016-06-27 13:46:54:

    1. closedate changed to: "2457567.07423655"
    2. closer changed to: "dkf"
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. resolution changed to: "Accepted"
    6. status changed to: "Closed"