Nested guard doesn't catch exception properly.

Issue #170 invalid
Takashi Kato repo owner created an issue

This should print Caught exception.

  (guard (ball
          (#f (display "Caught exception.")))
         (guard (ball
                 (#f (raise ball)))
                (raise 'exn)))

Found in:

Comments (1)

  1. Takashi Kato reporter

    It shouldn't print Caught exception.... Both exception handler uses #f thus it should go thought to the top level handler (means unhandled excepsion).

    The original issue was that it went to infinite loop if users use reference implementation. However on Sagittarius it was handled properly from the beginning.

  2. Log in to comment