Nested guard doesn't catch exception properly.

Create issue
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: http://srfi.schemers.org/srfi-34/post-mail-archive/msg00001.html

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