Skip to content
Tcl Source Code History Of Ticket cb042d294e
Login

History Of Ticket cb042d294e

Artifacts Associated With Ticket cb042d294e

  1. Ticket change [be0e116a8e] (rid 138237) by andy on 2014-05-21 23:56:38:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      % dict append
      wrong # args: should be "dict append varName key ?value ...?"
      % dict incr
      wrong # args: should be "dict incr varName key ?increment?"
      % dict lappend
      wrong # args: should be "dict lappend varName key ?value ...?"
      % dict set
      wrong # args: should be "dict set varName key ?key ...? value"
      % dict unset
      wrong # args: should be "dict unset varName key ?key ...?"
      % dict update
      wrong # args: should be "dict update varName key varName ?key varName ...? script"
      % dict with
      wrong # args: should be "dict with dictVar ?key ...? script"
      
      [dict with] is clearly the odd man out, being the only command to say "dictVar" instead of "varName".  It must be following the example of [dict for] and [dict map] which also say "somethingVar" (and should probably say "somethingVarName"):
      
      % dict for
      wrong # args: should be "dict for {keyVar valueVar} dictionary script"
      % dict map
      wrong # args: should be "dict map {keyVar valueVar} dictionary script"
      
      Back to [dict update].  It says "varName" multiple times.  I suggest changing all but the first instance to "valueVarName".
      
      wrong # args: should be "dict update varName key varName ?key varName ...? script"
      
    5. foundin initialized to: "cdc4e05235717e4959d745e4cc6670bd1333c783"
    6. is_private initialized to: "0"
    7. login: "andy"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "andy"
    14. subsystem initialized to: "15. Dict Object"
    15. title initialized to: "[dict] "wrong # args" error inconsistencies"
    16. type initialized to: "Bug"
  2. Ticket change [85300e5c48] (rid 138238) by aku on 2014-05-22 00:13:10:

    1. assignee changed to: "dkf"
    2. login: "aku"
    3. mimetype: "text/plain"
  3. Ticket change [b59f6c987b] (rid 138419) by dkf on 2014-06-15 16:50:51:

    1. closedate changed to: "2456824.20199052"
    2. closer changed to: "dkf"
    3. icomment:
      The most useful wording would actually be <tt>dictVarName</tt> in error messages (and <i>dictionaryVariable</i> on the manual page). What's more, for the places where iterators write variables, a consistent naming scheme (<tt>keyVarName valueVarName</tt>) is similarly a good idea.
      
    4. login: "dkf"
    5. mimetype: "text/html"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"