Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a38aefec8a0a36dc90737df6ef804ff7c0a0dbbe
Ticket: 3475264fffffffffffffffffffffffffffffffff
"dict exists" throws error when key path ends in value
User & Date: blacksqr on 2012-01-18 13:49:17
Changes

  1. icomment:
    from chat: 
    
    [00:12]SEHlooking for some wisdom on dicts
    [00:12]SEH% dict set tst a b c d
    [00:13]SEHa {b {c d}}
    [00:14]SEH% dict exists $tst a b c d
    [00:14]SEHget error; missing value to go with key
    [00:14]SEHexpected simply to get "0"
    [00:14]SEHbug?
    [00:16]venksSEH - exists is for a key
    [00:16]SEHright, but since d is not a key I expected to get "0", not an error
    [00:16]venksah.
    [00:17]   * venks goes to check on his
    [00:21]apnLooks like a bug to me
    [00:22]venksyep - is a booooog.
    
    
  2. login: "blacksqr"
  3. mimetype: "text/plain"
  4. username: "blacksqr"