Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b74e5825fab6ecd72d53170aad8cce9c527d5f71
Ticket: 3475264fffffffffffffffffffffffffffffffff
"dict exists" throws error when key path ends in value
User & Date: blacksqr on 2012-01-18 06:32:07
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    % dict set tst a b c d
    a {b {c d}}
    % dict exists $tst a b c
    1
    % dict exists $tst a b c d
    missing value to go with key
    
    The last command throws an error; since d is a value not a key, I expected simply to get a return value of "0".
    
  4. foundin changed to: "obsolete: 8.5.11"
  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: "blacksqr"
  10. subsystem changed to: "15. Dict Object"
  11. title changed to:
    "dict exists" throws error when key path ends in value
    
  12. type changed to: "Bug"