Overview
| Artifact ID: | c64d524fedcb1eb1a7fe3b408c11019c4cda1771 |
|---|---|
| Ticket: | 779d38b9963a4651954282e7b91cd7534928cd77
[try] compiler -during failure |
| User & Date: | dkf on 2013-06-08 23:59:01 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
The code emitted by the <tt>try</tt> compiler fails to match the interpreted command in one key way: if the <i>body</i> clause has an error and either the exception <i>handler</i> clause or the <i>finally</i> clause also has an error, the <i>body</i>'s error is lost. In the interpreted version, the original error is described in the new error's options dictionary's <tt>-during</tt> entry. The test suite checks for <tt>-during</tt> but only in interpreted mode, due to the fact that it did all its checking in straight scripts and not in a lambda term or procedure; part of this bug is the inadequacy of the tests. (This was found when developing [0d0c3fe646e3770de15c6248928c7c927fb2098d|this commit], where I found a way to compile the simplest <tt>try</tt> case without an LVT, except for the handling of this bug…)
- foundin changed to: "8.6.0, trunk"
- is_private changed to: "0"
- login: "dkf"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "[try] compiler -during failure"
- type changed to: "Bug"