[parenscript-devel] Bug: JS contains inappropriate "funcall" in SBCL
Vladimir Sedach
vsedach at gmail.com
Sat Dec 24 15:47:31 UTC 2011
I can't reproduce this bug. Can you try this in a fresh image? You
might have bar defined as a macro that does that.
Vladimir
On Thu, Dec 22, 2011 at 2:41 PM, Daniel Gackle <danielgackle at gmail.com> wrote:
> In SBCL, PS generates "funcall(bar)" below instead of "bar()". In CCL, it's
> fine.
>
> Daniel
>
>
> (ps (defun foo ()
> (flet ((blah () (return-from foo (bar)))))))
>
> =>
>
> function foo() {
> try {
> var blah = function () {
> throw { 'ps-block-tag' : 'foo', 'ps-return-value' :
> funcall(bar) };
> };
> return null;
> } catch (err) {
> if (err && 'foo' === err['ps-block-tag']) {
> return err['ps-return-value'];
> } else {
> throw err;
> };
> };
> };
>
> _______________________________________________
> 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