Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c64d524fedcb1eb1a7fe3b408c11019c4cda1771
Ticket: 779d38b9963a4651954282e7b91cd7534928cd77
[try] compiler -during failure
User & Date: dkf on 2013-06-08 23:59:01
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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…)
    
  5. foundin changed to: "8.6.0, trunk"
  6. is_private changed to: "0"
  7. login: "dkf"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "dkf"
  13. subsystem changed to: "47. Bytecode Compiler"
  14. title changed to: "[try] compiler -during failure"
  15. type changed to: "Bug"