Overview
| Artifact ID: | 56d3049ca3a6260b516e3cd6976acd4fb05b6128 |
|---|---|
| Ticket: | 633204ffffffffffffffffffffffffffffffffff
catch { return foo } breaks inside proc |
| User & Date: | dgp on 2002-12-12 23:13:52 |
Changes
- icomment:
Logged In: YES user_id=80530 Is this bug found in line 343 of tclCompCmds.c ? The comment on lines 329-333 says: /* * The "no errors" epilogue code: store the body's result into the * variable (if any), push "0" (TCL_OK) as the catch's "no error" * result, and jump around the "error case" code. */ but the result of [catch] should not always be TCL_OK. It should be whatever the return code of the $script argument was. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"