petdance/scratch — Issue #579: Modify `throw` opcode to pass through pre-configured resume continuation
Author: petdance
Created: 2011-11-01 05:35:19+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.)
Trac ID #1448