Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a75089911448e15f9f6bdf1dcd46ab3c2509803
Ticket: 2007198fffffffffffffffffffffffffffffffff
[continue] result incompat with Tcl 8.4 ?
User & Date: ferrieux on 2008-07-01 06:30:00
Changes

  1. assignee changed to: "msofer"
  2. icomment:
    Logged In: YES 
    user_id=496139
    Originator: NO
    
    Hmmm, half a red herring there.
    First, notice that checking the value of the 2nd arg to [catch] without checking its return value is bad practice (possible collisions).
    Second, the whole report can be simplified to the following:
    
            set ev {set x 12}
            catch {eval $ev;continue} y
            puts $y ==> 12
            catch {eval {set x 13};continue} y
            puts $y ==> 
    
    Have to check about the contract of [continue] (is it supposed to reset the interp's result ?)
    But indeed the impact of a dynamic eval is strange. Possibly an effect of compilation ?
    Since this is rather linked to basic execution than regexp, reassigning to Miguel.
    
    
    
    
  3. login: "ferrieux"
  4. mimetype: "text/plain"
  5. priority changed to: "7 High"
  6. username: "ferrieux"