Artifacts Associated With Ticket cb042d294ec00c41
Ticket change [be0e116a8e] (rid 138237) by andy on 2014-05-21 23:56:38:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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" - foundin initialized to: "cdc4e05235717e4959d745e4cc6670bd1333c783"
- is_private initialized to: "0"
- login: "andy"
- priority initialized to: "5 Medium"
- private_contact initialized to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "andy"
- subsystem initialized to: "15. Dict Object"
- title initialized to: "[dict] "wrong # args" error inconsistencies"
- type initialized to: "Bug"
Ticket change [85300e5c48] (rid 138238) by aku on 2014-05-22 00:13:10:
- assignee changed to: "dkf"
- login: "aku"
- mimetype: "text/plain"
Ticket change [b59f6c987b] (rid 138419) by dkf on 2014-06-15 16:50:51:
- closedate changed to: "2456824.20199052"
- closer changed to: "dkf"
- 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.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"