When I tried to enhance our test framework to support assert failures from
concurrent threads that were started from test methods, I noticed that a
syntax error in the replied thread of a method cannot be trapped.  Try
running below code with either .c~before or .c~after.

That would mean the concurrent thread has no caller.  Is that how it should
be?
Any ideas how to still trap a syntax in the concurrent thread?

~~~
signal on syntax
.c~before -- or .c~after
return
syntax:
say "captured" condition("object")~code

::class c
::method before class
  say 1/0
  reply

::method after class
  reply
  say 1/0
~~~
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to