Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 82b5e19389985b79c94e99aad186c16f8595ed3c
Ticket: 2431847fffffffffffffffffffffffffffffffff
Junk at start of errorInfo when using [dict get] on arrays
User & Date: ferrieux on 2008-12-16 07:27:06
Changes

  1. icomment:
    Simplified repro: no [catch], no array element, no [dict set] !
    
      proc foo {} {return yo}
      proc oops3 {} {
        foo
        dict get {} nonex
      }
      oops3
      => yokey "nonex" not known in dictionary
    
    I think there is a hole in the ResetResultReform. The [dict get] code does an AppendResult assuming an invariant.
    So either fix that invariant or use ResetResult again...
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"