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

Issue 1107053002: Parsing binding patterns. (Closed)

Created:
5 years, 8 months ago by Dmitry Lomov (no reviews)
Modified:
5 years, 7 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

Parsing binding patterns. Just parsing, no desugaring yet. R=arv@chromium.org,rossberg@chromium.org BUG=v8:811 LOG=N Committed: https://crrev.com/80bf5686fa78cacf49200c6a15b249aa61ded25e Cr-Commit-Position: refs/heads/master@{#28112}

Patch Set 1 #

Total comments: 17

Patch Set 2 : CR feedback #

Patch Set 3 : Minor fix to formatter flags #

Total comments: 5

Patch Set 4 : CR feedback #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -8 lines) Patch
M src/parser.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M src/preparser.h View 1 22 chunks +45 lines, -4 lines 2 comments Download
M src/preparser.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 3 chunks +131 lines, -2 lines 1 comment Download

Messages

Total messages: 24 (8 generated)
Dmitry Lomov (no reviews)
PTAL - I think I covered all cases for binding patterns.
5 years, 8 months ago (2015-04-27 17:02:14 UTC) #1
rossberg
LGTM modulo tests https://codereview.chromium.org/1107053002/diff/1/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/1107053002/diff/1/src/preparser.cc#newcode514 src/preparser.cc:514: // Parse variable name. Nit: update ...
5 years, 8 months ago (2015-04-27 17:20:24 UTC) #2
arv (Not doing code reviews)
Not sure how complete you want this to be? https://codereview.chromium.org/1107053002/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/1107053002/diff/1/src/preparser.h#newcode689 src/preparser.h:689: ...
5 years, 8 months ago (2015-04-27 17:56:55 UTC) #3
Dmitry Lomov (no reviews)
PTAL https://codereview.chromium.org/1107053002/diff/1/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/1107053002/diff/1/src/preparser.cc#newcode514 src/preparser.cc:514: // Parse variable name. On 2015/04/27 17:20:24, rossberg ...
5 years, 7 months ago (2015-04-28 10:15:49 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107053002/20001
5 years, 7 months ago (2015-04-28 10:16:01 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107053002/40001
5 years, 7 months ago (2015-04-28 11:57:41 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-04-28 12:33:09 UTC) #12
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc#newcode6369 test/cctest/test-parsing.cc:6369: "[{x:x, y:y}, [a,b,c]]", moar "{var: x}", "{42: x}", ...
5 years, 7 months ago (2015-04-28 13:42:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107053002/60001
5 years, 7 months ago (2015-04-28 14:40:56 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-04-28 15:15:07 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/80bf5686fa78cacf49200c6a15b249aa61ded25e Cr-Commit-Position: refs/heads/master@{#28112}
5 years, 7 months ago (2015-04-28 15:15:18 UTC) #18
Dmitry Lomov (no reviews)
https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc#newcode6369 test/cctest/test-parsing.cc:6369: "[{x:x, y:y}, [a,b,c]]", On 2015/04/28 13:42:14, arv wrote: > ...
5 years, 7 months ago (2015-04-28 16:01:36 UTC) #19
arv (Not doing code reviews)
https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc#newcode6369 test/cctest/test-parsing.cc:6369: "[{x:x, y:y}, [a,b,c]]", On 2015/04/28 16:01:36, Dmitry Lomov (chromium) ...
5 years, 7 months ago (2015-04-28 16:07:23 UTC) #20
Dmitry Lomov (no reviews)
On 2015/04/28 16:07:23, arv wrote: > https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc > File test/cctest/test-parsing.cc (right): > > https://codereview.chromium.org/1107053002/diff/40001/test/cctest/test-parsing.cc#newcode6369 > ...
5 years, 7 months ago (2015-04-29 09:36:45 UTC) #21
wingo
drive-by question/nit https://codereview.chromium.org/1107053002/diff/60001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/1107053002/diff/60001/src/preparser.h#newcode3592 src/preparser.h:3592: } A bit late, but: wouldn't this ...
5 years, 7 months ago (2015-05-12 08:47:04 UTC) #23
wingo
5 years, 7 months ago (2015-05-12 08:51:54 UTC) #24
Message was sent while issue was closed.
https://codereview.chromium.org/1107053002/diff/60001/src/preparser.h
File src/preparser.h (right):

https://codereview.chromium.org/1107053002/diff/60001/src/preparser.h#newcode691
src/preparser.h:691: scanner()->location(), "unexpected_token",
Token::String(peek()));
peek_location(), I think

Powered by Google App Engine
This is Rietveld 408576698