Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d662e17d9bea97ed980d95a327516c115ae27f0b
Ticket: 633204ffffffffffffffffffffffffffffffffff
catch { return foo } breaks inside proc
User & Date: dgp on 2002-12-17 01:52:36
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    Yes, but both the body of [a]
    and the body of [b] are bytecompiled, right?
    
    So the problem is that
    bytecompiled [return] is
    not returning TCL_RETURN, when
    it should be, just like "bytecompiled"
    [myreturn] does.
    
    The example just shows that the TEBC
    and TclObjInterpProc framwork can
    handle a TCL_RETURN properly, so
    what's the obstacle to fixing BC'd [return]
    to return the correct return code?
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"