REBOL3 tracker
  0.9.12 beta
Ticket #0002244 User: anonymous

Project:

Previous Next
rss
TypeBug Statusreviewed Date13-Aug-2015 23:07
Versionr3 master CategoryUnspecified Submitted byfork
PlatformAll Severityminor Prioritynormal

Summary MAKE ERROR! does not process THROWN values as THROWN
Description Similar to #2243. MAKE ERROR! evaluates the block it is passed like MAKE OBJECT! does. But if a THROW-style operation happens (including CONTINUE, BREAK, RETURN, etc.) then rather than handling it, it will process the THROWN()
Example code
>> make error! [type: 'Access arg1: 10 + 20 id: 'Protocol]      
** Access error: protocol error: 30

>> make error! [type: 'Access arg1: throw 10 + 20 id: 'Protocol]              
** Internal error: error object or fields were not valid   ;-- expect "unhandled throw"

Assigned ton/a Fixed in- Last Update14-Sep-2015 09:22


Comments

Date User Field Action Change
14-Sep-2015 09:22 abolka Status Modified submitted => reviewed
13-Aug-2015 23:08 Fork Code Modified -
13-Aug-2015 23:07 Fork Ticket Added -