Reviewers: marja,
Description:
Make stray 'return' an early error
As required by the spec, and implemented by other browsers.
[email protected]
BUG=
Please review this at https://codereview.chromium.org/220473014/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+49, -73 lines):
M src/messages.js
M src/parser.h
M src/parser.cc
M src/preparser.h
M src/preparser.cc
M src/runtime.cc
M test/cctest/test-parsing.cc
M test/mjsunit/debug-stepout-scope-part2.js
M test/mjsunit/debug-stepout-scope-part3.js
M test/mjsunit/debug-stepout-scope-part4.js
M test/mjsunit/debug-stepout-scope-part5.js
M test/mjsunit/debug-stepout-scope-part6.js
M test/mjsunit/delay-syntax-error.js
M test/webkit/fast/js/arguments-expected.txt
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.