Error with call/cc

Per Bothner per@bothner.com
Thu Aug 16 07:42:00 GMT 2012


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/



More information about the Kawa mailing list