This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error with call/cc


On 08/15/2012 11:03 AM, Weiqi Gao wrote:
Hi,

I just spotted a problem with Kawa's call/cc. Here's what Kawa does:

$ kawa
#|kawa:1|# (+ 1 (call/cc (lambda (k) (+ 2 (k 3)))))
/dev/stdin:1:6: warning - unreachable code
5

This seems to be due to failure to pop the JVM stack when doing a jump. I hope I'll have a fix tomorrow. -- --Per Bothner per@bothner.com http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]