REBOL3 tracker
  0.9.12 beta
Ticket #0001361 User: anonymous

Project:



rss
TypeBug Statusbuilt Date29-Nov-2009 00:56
Versionalpha 95 CategoryError Handling Submitted byPeterWood
PlatformAll Severitymajor Prioritynormal

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 ton/a Fixed inr3 master Last Update19-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 -