Skip to content
Tcl Source Code History Of Ticket 3474512fffffffff
Login

History Of Ticket 3474512fffffffff

Artifacts Associated With Ticket 3474512fffffffff

  1. Ticket change [a1467ebd6f] (rid 109690) by egavilan on 2012-01-16 18:48:39:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "egavilan"
    10. subsystem initialized to: "15. Dict Object"
    11. title initialized to: "[dict with] manual page misses special case"
    12. type initialized to: "Bug"
  2. Ticket change [0982605267] (rid 113670) by dkf on 2012-01-17 04:49:13:

    1. 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
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [cd0e703274] (rid 95811) by dkf on 2012-01-17 22:24:29:

    1. closedate changed to: "2012-01-17T15:24:29"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      Added paragraph of explanation and an example
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"