Overview
| Artifact ID: | 204d49999d1920cf2591c2a498dedf03c4ba6ce0 |
|---|---|
| Ticket: | 633204ffffffffffffffffffffffffffffffffff
catch { return foo } breaks inside proc |
| User & Date: | dgp on 2002-12-17 00:47:05 |
Changes
- assignee changed to: "msofer"
- icomment:
Logged In: YES user_id=80530 The BC execution engine appears to be capable of doing the right thing: % proc myreturn {} {return -code return} % proc a {} {catch return} % proc b {} {catch myreturn} % a 0 % b 2 So what path through TEBC does [a] take, and how can TEBC be corrected so that [b] takes a similar path? At least this seems to confirm that TEBC is capable of returning TCL_RETURN, and if TEBC does return TCL_RETURN, then TclObjInterpProc() will do the right thing. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"