Overview
| Artifact ID: | d5d4f81a3736e476fadf028aaf3bc7e82cfed807 |
|---|---|
| Ticket: | 1522803fffffffffffffffffffffffffffffffff
wrong backtrace on arithmetic error |
| User & Date: | kennykb on 2006-07-14 21:35:09 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
On an arithmetic error, such as division by zero, the backtrace in ::errorInfo shows the last previous error, rather than the current error. Behold: % catch {unset foo(bar)}; set c 0; expr {1/$c} divide by zero % set errorInfo can't unset "foo(bar)": no such variable while executing "unset foo(bar)" invoked from within "expr {1/$c}" I'm looking at this briefly, but don't expect to solve it quickly, and hope that one of the other developers that understands the bytecode engine might have a keener insight. - foundin changed to: "obsolete: 8.5a4"
- priority changed to: "7 High"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "wrong backtrace on arithmetic error"
- type changed to: "Bug"