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

Issue 2034713004: improve completions in closures and switch statements (Closed)

Created:
4 years, 6 months ago by danrubel
Modified:
4 years, 6 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

improve completions in closures and switch statements This addresses several situations where the parser interprets "as" as part of an "as" expression, but the user is trying to enter the "async" keyword or an identifier starting with "as". R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/2d310f1e6700dfc59db0e14d6648fde738ea5a7d

Patch Set 1 #

Total comments: 1

Patch Set 2 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -8 lines) Patch
M pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/services/completion/dart/optype.dart View 2 chunks +4 lines, -8 lines 0 comments Download
M pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart View 3 chunks +34 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/services/completion/dart/optype_test.dart View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
danrubel
4 years, 6 months ago (2016-06-03 01:56:12 UTC) #2
Brian Wilkerson
lgtm https://codereview.chromium.org/2034713004/diff/1/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart File pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart (right): https://codereview.chromium.org/2034713004/diff/1/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart#newcode85 pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart:85: _addSuggestion2(SYNC_STAR, relevance: DART_RELEVANCE_HIGH); This one seems strange, but ...
4 years, 6 months ago (2016-06-03 13:48:54 UTC) #3
danrubel
4 years, 6 months ago (2016-06-06 12:09:47 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2d310f1e6700dfc59db0e14d6648fde738ea5a7d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698