Type | Bug | Status | built | Date | 29-Nov-2009 00:56 |
---|---|---|---|---|---|
Version | alpha 95 | Category | Error Handling | Submitted by | PeterWood |
Platform | All | Severity | major | Priority | normal |
Summary | Try does not trap errors in second "do" |
---|---|
Description | If there is a syntax error in a Rebol source file the error is not trapped by try when another rebol file is evaluated by do in the same block. |
Example code |
>> print mold try [do {"}] make error! [ code: 200 type: 'Syntax id: 'invalid arg1: "string" arg2: {"} arg3: none near: {(line 1) "} where: [transcode either if load applier do try] ] >> print mold try [do "1" do {"}] ** Syntax error: invalid "string" -- {"} ** Where: transcode either if load applier do try ** Near: (line 1) " |
Assigned to | n/a | Fixed in | r3 master | Last Update | 19-Feb-2014 22:02 |
---|
Comments | |
---|---|
(0001831)
BrianH 29-Nov-2009 05:40 |
Note: This is related to #851. You don't have to use files to get the effect, strings are sufficient - code changed accordingly. |
Date | User | Field | Action | Change |
---|---|---|---|---|
19-Feb-2014 22:02 | BrianH | Fixedin | Modified | => r3 master |
19-Feb-2014 22:02 | BrianH | Status | Modified | reviewed => built |
29-Nov-2009 06:41 | BrianH | Code | Modified | - |
29-Nov-2009 05:40 | BrianH | Comment : 0001831 | Added | - |
29-Nov-2009 05:36 | BrianH | Code | Modified | - |
29-Nov-2009 05:36 | BrianH | Category | Modified | Native => Error Handling |
29-Nov-2009 05:36 | BrianH | Status | Modified | submitted => reviewed |
29-Nov-2009 05:36 | BrianH | Platform | Modified | Mac OSX => All |
29-Nov-2009 00:56 | PeterWood | Ticket | Added | - |