Artifacts Associated With Ticket 3474512fffffffff
Ticket change [a1467ebd6f] (rid 109690) by egavilan on 2012-01-16 18:48:39:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When a dict key maps to the same variable name used in [dict with], the command fails. This is expected, but not noted in the manual page. Moreover, the error message is misleading. % set foo {foo 1 bar 2 baz 3} foo 1 bar 2 baz 3 % dict get $foo foo 1 % dict with foo {} missing value to go with key - foundin initialized to: "obsolete: 8.6b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "egavilan"
- subsystem initialized to: "15. Dict Object"
- title initialized to: "[dict with] manual page misses special case"
- type initialized to: "Bug"
Ticket change [0982605267] (rid 113670) by dkf on 2012-01-17 04:49:13:
- icomment:
That's technically incorrect; if foo had mapped to a (sub-)dictionary then it would have "worked" (in as far as anything can be fully working in such a case). % set foo {foo {a b} bar 2 baz 3} foo {a b} bar 2 baz 3 % dict get $foo foo a b % dict with foo {} % puts $foo a b foo {a b} bar 2 baz 3 - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [cd0e703274] (rid 95811) by dkf on 2012-01-17 22:24:29:
- closedate changed to: "2012-01-17T15:24:29"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 Added paragraph of explanation and an example
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"