[armedbear-devel] [j-devel] bug - interaction between unwind-protect, function call, multiple values
Alan Ruttenberg
alanruttenberg at gmail.com
Tue Jul 28 06:40:04 UTC 2009
On Tue, Jul 28, 2009 at 2:24 AM, Erik Huelsmann<ehuels at gmail.com> wrote:
> 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.
Excellent :)
Thanks for the quick response!
-Alan
>
> Bye,
>
> Erik.
>
More information about the armedbear-devel
mailing list