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

Issue 1139773005: [destructuring] More tests for object literal pattern (Closed)

Created:
5 years, 7 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

[destructuring] More tests for object literal pattern R=arv@chromium.org,rossberg@chromium.org BUG=v8:811 LOG=N Committed: https://crrev.com/cf9492ddd818f336a9dc1269cdb7557ec709d12c Cr-Commit-Position: refs/heads/master@{#28457}

Patch Set 1 #

Patch Set 2 : More tests + fixed a bug #

Total comments: 11

Patch Set 3 : CR feedback #

Patch Set 4 : Typo in error message fixed. #

Patch Set 5 : Removed undetectable check #

Total comments: 4

Patch Set 6 : More feedback #

Total comments: 16

Patch Set 7 : Comments addressed, landing #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -6 lines) Patch
M src/messages.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/parser.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M src/parser.cc View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
M src/pattern-rewriter.cc View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A + test/message/destructuring-modify-const.js View 1 2 3 4 5 6 1 chunk +4 lines, -5 lines 1 comment Download
A test/message/destructuring-modify-const.out View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/destructuring.js View 1 2 3 4 5 6 4 chunks +87 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (9 generated)
Dmitry Lomov (no reviews)
ptal
5 years, 7 months ago (2015-05-18 09:52:27 UTC) #1
Dmitry Lomov (no reviews)
On 2015/05/18 09:52:27, Dmitry Lomov (chromium) wrote: > ptal (sorry seems like I forgot to ...
5 years, 7 months ago (2015-05-18 09:52:57 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139773005/20001
5 years, 7 months ago (2015-05-18 10:14:04 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-18 10:49:23 UTC) #6
caitp (gmail)
https://codereview.chromium.org/1139773005/diff/20001/test/mjsunit/harmony/destructuring.js File test/mjsunit/harmony/destructuring.js (right): https://codereview.chromium.org/1139773005/diff/20001/test/mjsunit/harmony/destructuring.js#newcode140 test/mjsunit/harmony/destructuring.js:140: assertThrows(function() { var {} = null; }, TypeError); do ...
5 years, 7 months ago (2015-05-18 13:11:06 UTC) #8
arv (Not doing code reviews)
https://codereview.chromium.org/1139773005/diff/20001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1139773005/diff/20001/src/parser.cc#newcode4137 src/parser.cc:4137: // if (var === null || var === undefined ...
5 years, 7 months ago (2015-05-18 13:12:54 UTC) #9
Dmitry Lomov (no reviews)
Comments addressed. Sorry, I have no idea what is the meaning of 'undetectable' :( https://codereview.chromium.org/1139773005/diff/20001/src/parser.cc ...
5 years, 7 months ago (2015-05-18 13:41:46 UTC) #10
Dmitry Lomov (no reviews)
Removed undetectable check. Whatever we do, we must be consistent betweet let {x} = foo ...
5 years, 7 months ago (2015-05-18 13:56:35 UTC) #11
arv (Not doing code reviews)
https://codereview.chromium.org/1139773005/diff/80001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1139773005/diff/80001/src/parser.cc#newcode4138 src/parser.cc:4138: // return %ThrowNonCoercible(var); Instead of creating a new runtime ...
5 years, 7 months ago (2015-05-18 14:00:27 UTC) #12
Dmitry Lomov (no reviews)
Thanks for the review, all great suggestions! PTAL https://codereview.chromium.org/1139773005/diff/80001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1139773005/diff/80001/src/parser.cc#newcode4138 src/parser.cc:4138: // ...
5 years, 7 months ago (2015-05-18 14:25:56 UTC) #13
Dmitry Lomov (no reviews)
(sorry had to rebase because NewThrowTypeError changed under me)
5 years, 7 months ago (2015-05-18 14:26:31 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139773005/100001
5 years, 7 months ago (2015-05-18 14:30:43 UTC) #16
arv (Not doing code reviews)
LGTM Some small improvements https://codereview.chromium.org/1139773005/diff/100001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1139773005/diff/100001/src/parser.cc#newcode4148 src/parser.cc:4148: // return throw /* type ...
5 years, 7 months ago (2015-05-18 14:43:43 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-18 15:36:58 UTC) #19
rossberg
LGTM modulo Arv's comments https://codereview.chromium.org/1139773005/diff/100001/src/pattern-rewriter.cc File src/pattern-rewriter.cc (right): https://codereview.chromium.org/1139773005/diff/100001/src/pattern-rewriter.cc#newcode223 src/pattern-rewriter.cc:223: block_->AddStatement(descriptor_->parser->BuildAssertIsCoercible(temp), Nit: I'd just inline ...
5 years, 7 months ago (2015-05-18 16:23:18 UTC) #20
Dmitry Lomov (no reviews)
Landing https://codereview.chromium.org/1139773005/diff/100001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1139773005/diff/100001/src/parser.cc#newcode4148 src/parser.cc:4148: // return throw /* type error kNonCoercible) */; ...
5 years, 7 months ago (2015-05-18 16:28:23 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139773005/120001
5 years, 7 months ago (2015-05-18 16:28:37 UTC) #24
arv (Not doing code reviews)
https://codereview.chromium.org/1139773005/diff/120001/test/message/destructuring-modify-const.js File test/message/destructuring-modify-const.js (right): https://codereview.chromium.org/1139773005/diff/120001/test/message/destructuring-modify-const.js#newcode9 test/message/destructuring-modify-const.js:9: x++; I was thinking a test where we have ...
5 years, 7 months ago (2015-05-18 16:32:05 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139773005/120001
5 years, 7 months ago (2015-05-18 17:30:40 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-05-18 20:15:16 UTC) #29
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 22:12:23 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/cf9492ddd818f336a9dc1269cdb7557ec709d12c
Cr-Commit-Position: refs/heads/master@{#28457}

Powered by Google App Engine
This is Rietveld 408576698