Re: [armedbear-devel] [j-devel] bug - interaction between unwind-protect, function call, multiple values
![](https://secure.gravatar.com/avatar/29e40ec843bec4b66414022ddce75718.jpg?s=120&d=mm&r=g)
Hi Alan, On Mon, Jul 27, 2009 at 2:08 AM, Alan Ruttenberg<alanruttenberg@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.
![](https://secure.gravatar.com/avatar/1acb146697fe261dc4e0c1c04f7508ec.jpg?s=120&d=mm&r=g)
On Tue, Jul 28, 2009 at 2:24 AM, Erik Huelsmann<ehuels@gmail.com> wrote:
Hi Alan,
On Mon, Jul 27, 2009 at 2:08 AM, Alan Ruttenberg<alanruttenberg@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.
participants (2)
-
Alan Ruttenberg
-
Erik Huelsmann