[parenscript-devel] bug: RETURN-FROM doesn't work with LABELS

Vladimir Sedach vsedach at gmail.com
Sat Dec 17 20:49:59 UTC 2011


This issue should be fixed in the latest batch of patches. Let me know
if anything else breaks.

Vladimir

On Thu, Oct 13, 2011 at 4:12 PM, Daniel Gackle <danielgackle at gmail.com> wrote:
> This produces incorrect code (a throw with no corresponding catch):
>
>   (defun foo ()
>     (labels ((bar (x)
>                (when (evenp x)
>                  (return-from bar "even"))
>                (blah x)))
>       (bar 9)))
>
> If you change LABELS to FLET then it works.
>
> Daniel
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>




More information about the parenscript-devel mailing list