Overview
| Artifact ID: | b29e8e6d6f844868b5986ff6f929103433b06a57 |
|---|---|
| Ticket: | 2431847fffffffffffffffffffffffffffffffff
Junk at start of errorInfo when using [dict get] on arrays |
| User & Date: | dgp on 2008-12-16 22:28:16 |
Changes
- icomment:
I think Alex is correct, and a full Tcl_ResetResult() needs to be restored. See this demo script: % proc demo {} { return -level 0 -code ok -noisy stuff dict get {} noex } % catch demo m o 1 % set o -noisy stuff -code 1 -level 0 -errorcode NONE -errorinfo {key "noex" not known in dictionary while executing "dict get {} noex" (procedure "demo" line 3) invoked from within "demo"} -errorline 1 See how the "-noisy stuff" is leaking into the unrelated error in [dict get]. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"