[parenscript-devel] FLET, LABELS, and MULTIPLE-VALUE-BIND are broken

Daniel Gackle danielgackle at gmail.com
Thu Jan 20 07:15:17 UTC 2011


Thanks. I noticed this apparent breakage:

(defun abc ()
  (flet ((foo ()
           (return-from foo 123)))
    (foo)))

=>

function abc() {
    var foo = function () {
        throw { 'ps-block-tag' : 'foo', 'ps-return-value' : 123 };
    };
    return foo();
};



On Wed, Jan 19, 2011 at 11:20 PM, Vladimir Sedach <vsedach at gmail.com> wrote:

> Pushed fixes for these. Thanks for the bug report.
>
> Vladimir
>
> 2011/1/11 Daniel Gackle <danielgackle at gmail.com>:
> > I've attempted to upgrade again to the latest PS. It looks like the
> issues
> > we discussed last month are fixed (thank you), but there are some serious
> > new breakages:
> > 1. FLET and LABELS no longer accept &OPTIONAL, &REST, or &KEY arguments
> > 2. MULTIPLE-VALUE-BIND doesn't work: in the JS for (PS
> (MULTIPLE-VALUE-BIND
> > (A B) (BLAH) (+ A B))), the function BLAH doesn't appear.
> > I'll post if I notice anything else.
> >
> >
> > _______________________________________________
> > parenscript-devel mailing list
> > parenscript-devel at common-lisp.net
> > http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
> >
> >
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20110120/4a8e7b97/attachment.html>


More information about the parenscript-devel mailing list