Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a1467ebd6f8eeb0ec45d04f94cea313d709bbd82
Ticket: 3474512fffffffffffffffffffffffffffffffff
[dict with] manual page misses special case
User & Date: egavilan on 2012-01-16 18:48:39
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.6b2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "egavilan"
  10. subsystem changed to: "15. Dict Object"
  11. title changed to: "[dict with] manual page misses special case"
  12. type changed to: "Bug"