public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* guard in r7rs library
@ 2014-11-25  3:17 Seth Alves
  2014-11-26 19:38 ` Per Bothner
  0 siblings, 1 reply; 2+ messages in thread
From: Seth Alves @ 2014-11-25  3:17 UTC (permalink / raw)
  To: kawa


Using guard inside an r7rs library seems to trigger a problem.

exceptions.scm:43:12: unbound location: save
     at gnu.mapping.SharedLocation.get(SharedLocation.java:22)
     at gnu.mapping.DynamicLocation.get(DynamicLocation.java:28)


(define-library (testlib)
   (export run-tests)
   (import (scheme base))
   (begin
     (define (run-tests)
       (guard
        (exn (#t #t))
        5))))

(import (scheme base)
         (scheme write)
         (testlib))
(display (run-tests))
(newline)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: guard in r7rs library
  2014-11-25  3:17 guard in r7rs library Seth Alves
@ 2014-11-26 19:38 ` Per Bothner
  0 siblings, 0 replies; 2+ messages in thread
From: Per Bothner @ 2014-11-26 19:38 UTC (permalink / raw)
  To: kawa

On 11/24/2014 07:17 PM, Seth Alves wrote:
>
> Using guard inside an r7rs library seems to trigger a problem.
>
> exceptions.scm:43:12: unbound location: save
>      at gnu.mapping.SharedLocation.get(SharedLocation.java:22)
>      at gnu.mapping.DynamicLocation.get(DynamicLocation.java:28)

I checked in fixes for this.  I also added a test.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-26 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25  3:17 guard in r7rs library Seth Alves
2014-11-26 19:38 ` Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).