Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dd1547111a3366c834b5abbb7a2282739c7b6187
Ticket: ae38befcfbc776f45a9499cf78228294f724e221
TclGetInnermostExceptionRange() is backwards
User & Date: dgp on 2016-03-11 15:23:56
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Ok, it's pretty minor, but...
    
    TclGetInnermostExceptionRange() loops over
    the array of ExceptionRange, tests whether
    each includes the CurrentOffset, and keeps
    it if it does.  The end result is that we
    find the latest ExceptionRange meeting that
    criterion.
    
    So why not start at the end of the array,
    search backward, and break on the first one found?
    
  5. foundin changed to: "8.6+"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "47. Bytecode Compiler"
  14. title changed to: "TclGetInnermostExceptionRange() is backwards"
  15. type changed to: "Bug"