petdance/scratch — Issue #241: Modify `throw` opcode to pass through pre-configured resume continuation
Author: petdance
Created: 2011-11-01 04:25:26+00:00
State: open

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.)