Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ad2662104631a91497ac52c23664aa96f230c6394395bf761c8dafadc6a2e82a
Ticket: ac867ea57cd66839c6b079984d2219bad1e69d67
[dict exists foo foo] returns 0 instead of throwing an error
User & Date: apnadkarni on 2018-05-20 07:51:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    % dict exists foo foo
    0
    
    The above should throw an error since {foo} is not a valid dictionary. Consider the roughly equivalent list version
    
    % lsearch  {a b "} c
    unmatched open quote in list
    
    which seems the correct behaviour to me.
    
  5. foundin changed to: "8.6.8"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "15. Dict Object"
  14. title changed to:
    [dict exists foo foo] returns 0 instead of throwing an error
    
  15. type changed to: "Bug"