[armedbear-devel] [j-devel] bug - interaction between unwind-protect, function call, multiple values

Erik Huelsmann ehuels at gmail.com
Tue Jul 28 06:24:36 UTC 2009


Hi Alan,

On Mon, Jul 27, 2009 at 2:08 AM, Alan
Ruttenberg<alanruttenberg at gmail.com> wrote:
> (defun bar () (values 1 2))
> (bar) =>
> 1
> 2
> (defun foo () (unwind-protect (return-from foo (bar)) 2))
> (foo) =>
> 1
> (defun foo () (unwind-protect (return-from foo (values 1 2) 2)))
> (foo) =>
> 1
> 2
>
> I noticed this in an early version of abcl, but just downloaded and
> built from subversion and it's still there.
> Doesn't seem to matter whether it is interpreted or evaluated.

It didn't matter whether interpreter or compiled, because both had the
same issue.

Anyway, thanks for the report! It's fixed now.

Bye,

Erik.




More information about the armedbear-devel mailing list