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

Issue 2824233002: Complete for-statement (Closed)

Created:
3 years, 8 months ago by messick
Modified:
3 years, 8 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address review comments #

Total comments: 4

Patch Set 3 : Replace empty with synthetic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -130 lines) Patch
M pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart View 1 2 13 chunks +125 lines, -31 lines 0 comments Download
M pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart View 1 14 chunks +277 lines, -99 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
messick
One TODO has incorrect text but since for-each is what I will work on next ...
3 years, 8 months ago (2017-04-18 16:36:53 UTC) #2
Brian Wilkerson
lgtm https://codereview.chromium.org/2824233002/diff/1/pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart File pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart (right): https://codereview.chromium.org/2824233002/diff/1/pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart#newcode133 pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart:133: test_completeForEmptyCond() async { Just a suggestion: you could ...
3 years, 8 months ago (2017-04-18 17:28:50 UTC) #3
messick
I'm going to refactor tests as Brian suggested before submitting. That will be later today. ...
3 years, 8 months ago (2017-04-18 18:05:52 UTC) #4
messick
PTAL Added the check for empty updaters and reorganized the tests. https://codereview.chromium.org/2824233002/diff/1/pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart File pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart (right): ...
3 years, 8 months ago (2017-04-18 21:35:41 UTC) #5
Brian Wilkerson
lgtm
3 years, 8 months ago (2017-04-18 21:47:56 UTC) #6
scheglov
lgtm https://codereview.chromium.org/2824233002/diff/20001/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart File pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart (right): https://codereview.chromium.org/2824233002/diff/20001/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart#newcode325 pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart:325: if (forNode.leftParenthesis.lexeme.isEmpty) { It might be more straightforward ...
3 years, 8 months ago (2017-04-18 21:52:09 UTC) #7
messick
PTAL Thanks for the suggestions! https://codereview.chromium.org/2824233002/diff/20001/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart File pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart (right): https://codereview.chromium.org/2824233002/diff/20001/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart#newcode325 pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart:325: if (forNode.leftParenthesis.lexeme.isEmpty) { On ...
3 years, 8 months ago (2017-04-18 22:16:24 UTC) #8
scheglov
LGTM
3 years, 8 months ago (2017-04-18 22:18:36 UTC) #9
messick
3 years, 8 months ago (2017-04-18 22:20:39 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
6a19d96ee28dd763af40041acff74ac58e5c9f2f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698