Digest #228 2023-08-04
If the top of the stack is -2 , and there is no handler, then THROW is supposed to display a message
I can't see how the reference implementation does that. It deals with the case of being called from inside a CATCH correctly as far as I can tell, but does not handle the case of HANDLER being empty - in fact if HANDLER=0 I think this would crash.
Note - I picked this up when the Hayes test suite failed its exception test set.