Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5962e202ee83aeaeaf380a71bb96e16ee701083d
Ticket: 633204ffffffffffffffffffffffffffffffffff
catch { return foo } breaks inside proc
User & Date: dgp on 2002-12-19 05:42:38
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    The bugs I feared in calls to
    Tcl_EvalObjEx() are probably 
    prevented by lines 2401-2403
    of tclCompCmds.s where
    the bytecompiling of [return]
    is disabled if an enclosing proc
    is not detected.
    
    This is similar in spirit to the proposed
    workaround for this bug that
    involves disabling bytecompiling
    when an enclosing [catch] is
    present.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"