Ticket UUID: | 1214462 | |||
Title: | [unknown] return code handling | |||
Type: | Bug | Version: | obsolete: 8.5a3 | |
Submitter: | dgp | Created on: | 2005-06-03 19:07:40 | |
Subsystem: | 38. Init - Library - Autoload | Assigned To: | dgp | |
Priority: | 7 High | Severity: | ||
Status: | Closed | Last Modified: | 2005-07-27 23:23:16 | |
Resolution: | Fixed | Closed By: | dgp | |
Closed on: | 2005-07-27 16:23:12 | |||
Description: |
the interactive [unknown] botches return code handling: % catch {return} 2 % catch {ret} 0 | |||
User Comments: |
dgp added on 2005-07-27 23:23:16:
File Added - 143490: 1214462.patch dgp added on 2005-07-27 23:23:11: Logged In: YES user_id=80530 Attached patch corrects Tcl 8.5. committing to HEAD. Not planning to fix this in Tcl 8.4. The lack of the TIP 90 tools makes it just too much effort. dgp added on 2005-06-28 23:59:21: Logged In: YES user_id=80530 need to fold this into TIP 181 (958222) dgp added on 2005-06-28 22:25:10: Logged In: YES user_id=80530 this is actually a symptom of the special "at toplevel" return code handling getting exposed: % catch break 3 % catch bre 1 % catch continue 4 % catch cont 1 Gonna be harder to fix than a little more careful coding in [unknown]. |
Attachments:
- 1214462.patch [download] added by dgp on 2005-07-27 23:23:14. [details]