[Webkit-unassigned] [Bug 15200] some 'return' statements are allowed outside the body of a function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 9 22:51:56 PDT 2008


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


cwzwarich at uwaterloo.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cwzwarich at uwaterloo.ca




------- Comment #3 from cwzwarich at uwaterloo.ca  2008-06-09 22:51 PDT -------
The syntax error is generated, but it is only thrown if the return statement
would otherwise be executed. For compatibility reasons, this is the approach we
take with all other "you are using this statement in the wrong place" syntax
errors. Should we do it differently in this case?


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