[Webkit-unassigned] [Bug 13623] Decompilation of function doesn't compile with "++(x, y)"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 24 12:19:55 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13623


jruderman at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kimmok at iki.fi




------- Comment #8 from jruderman at gmail.com  2007-05-24 12:19 PDT -------
(In reply to comment #0)
> > eval("" + f)
> SyntaxError: Parse error

(In reply to comment #3)
> SyntaxError for eval("function() {++x, y; }") is another issue, caused by
> treating 'function' as function declaration and not function expression.
> Firefox treats anonymous functions that appear in SourceElement context as 
> function expressions.

Oops, I forgot that I needed parentheses there.  Firefox trunk requires
parentheses too (see https://bugzilla.mozilla.org/show_bug.cgi?id=376052).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list