[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 06:37:47 PDT 2007


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


kimmok at iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14702|                            |review?
               Flag|                            |




------- Comment #3 from kimmok at iki.fi  2007-05-24 06:37 PDT -------
Created an attachment (id=14702)
 --> (http://bugs.webkit.org/attachment.cgi?id=14702&action=view)
Patch for toString()ing pre/postfix/typeof operators that contain grouping
expression

The patch makes errors like these produce run-time exception similar to the
other varians of this error, like "function f() { (g())++; }"

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.


-- 
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