petdance/scratch — Issue #960: Modify `throw` opcode to pass through pre-configured resume continuation
Author: petdance
Created: 2011-11-14 06:14:09+00:00
State: open
Labels: core, Pri-minor, rfc, Sev-low

Presently, the throw opcode creates and sets a resume continuation on the exception being thrown.
Since 'resume' is an attribute of the Exception, throw should check first for a preconfigured continuation, and if one exists should preserve it.

(Of course, if unset it should continue to do what it does.)

Originally http://trac.parrot.org/parrot/ticket/1448 by Austin_Hastings