Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 135dc132ddf9600eb21d41e9e6a4ecb86cac2aa9
Ticket: 218523ffffffffffffffffffffffffffffffffff
out of line compilation of foreach corrupts the exception ra
User & Date: nobody on 2000-10-26 01:01:40
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 884 Bug
    Version: 8.1a2
    SubmitDate: '1998-12-01'
    LastModified: '1998-12-01'
    Severity: CRIT
    Status: Released
    Submitter: stanton
    ChangedBy: stanton
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1998-12-01'
    FixedInVersion: 8.1b1
    ClosedDate: '2000-10-25'
    
    
    The following script demonstrates the bug:
    
        proc foreach-exception-test {} {
    foreach array(index) [list 1 2 3] break
    foreach array(index) [list 1 2 3] break
    foreach scalar [list 1 2 3] break
        }
    foreach-exception-test
    
    This fails claiming that break was called outside of a loop.
    
    The bug is that the compile proc for foreach corrupts the nesting level information if it fails to compile inline.
    
    
    
  4. foundin changed to: "obsolete: 8.1a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "10. Objects"
  10. title changed to:
    out of line compilation of foreach corrupts the exception ra
    
  11. type changed to: "Bug"