Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1feac697fc053bff05b6985b0dd751dcbc4f8d4a6325670db335132bbd3ce5e9
Ticket: 3598385fffffffffffffffffffffffffffffffff
[dict exists] doesn't produce an error for non-dict values
User & Date: apnadkarni on 2018-05-20 08:00:14
Changes

  1. icomment:
    +1 that this should generate an error if the value cannot be interpreted as a dictionary. What I think folks were grumbling about earlier was ambiguity related to nested keys but in that case the value was still interpretable as a valid dictionary.
    
    Consider also for consistency how lsearch (for example) behaves with badly formed lists.
    
    % lsearch  {a b "} c
    unmatched open quote in list
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"