Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Issue 964063003: Fix test for function declarations syntax error. (Closed)

Created:
5 years, 9 months ago by Dmitry Lomov (no reviews)
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix test for function declarations syntax error. Also fix parsing of declarations after case labels. R=waldron.rick@gmail.com,rossberg@chromium.org BUG=v8:3939 LOG=N Committed: https://crrev.com/a8289230a3d3b7f66c7676915f3b56c8f5e0e9b7 Cr-Commit-Position: refs/heads/master@{#27189}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix test + fix parsing #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -16 lines) Patch
M src/parser.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/preparser.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M test/mjsunit/es6/block-let-declaration.js View 1 2 3 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Dmitry Lomov (no reviews)
PTAL
5 years, 9 months ago (2015-03-03 16:14:07 UTC) #1
arv (Not doing code reviews)
https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js File test/mjsunit/harmony/block-let-declaration.js (right): https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js#newcode152 test/mjsunit/harmony/block-let-declaration.js:152: TestLocalThrows("function f() { if (true) function g() {} }", ...
5 years, 9 months ago (2015-03-03 16:17:31 UTC) #3
Dmitry Lomov (no reviews)
https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js File test/mjsunit/harmony/block-let-declaration.js (right): https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js#newcode152 test/mjsunit/harmony/block-let-declaration.js:152: TestLocalThrows("function f() { if (true) function g() {} }", ...
5 years, 9 months ago (2015-03-03 16:36:18 UTC) #4
rossberg
lgtm
5 years, 9 months ago (2015-03-04 10:40:25 UTC) #5
rossberg
https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js File test/mjsunit/harmony/block-let-declaration.js (right): https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js#newcode156 test/mjsunit/harmony/block-let-declaration.js:156: TestLocalThrows("function f() { label: function g() {} }", SyntaxError); ...
5 years, 9 months ago (2015-03-04 10:42:14 UTC) #6
Dmitry Lomov (no reviews)
PTAL https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js File test/mjsunit/harmony/block-let-declaration.js (right): https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js#newcode156 test/mjsunit/harmony/block-let-declaration.js:156: TestLocalThrows("function f() { label: function g() {} }", ...
5 years, 9 months ago (2015-03-13 14:33:20 UTC) #7
rossberg
On 2015/03/13 14:33:20, Dmitry Lomov (chromium) wrote: > PTAL > > https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js > File test/mjsunit/harmony/block-let-declaration.js ...
5 years, 9 months ago (2015-03-13 14:38:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/964063003/40001
5 years, 9 months ago (2015-03-13 16:37:44 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-13 16:57:32 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a8289230a3d3b7f66c7676915f3b56c8f5e0e9b7 Cr-Commit-Position: refs/heads/master@{#27189}
5 years, 9 months ago (2015-03-13 16:57:42 UTC) #13
arv (Not doing code reviews)
5 years, 9 months ago (2015-03-19 18:53:49 UTC) #15
Message was sent while issue was closed.
Does this create the bindings in the right place? I don't see any updates to the
switch statement.

Powered by Google App Engine
This is Rietveld 408576698