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

Issue 1956813004: Fixes for completing 'for (var v in^)' and 'if (v is^)'. (Closed)

Created:
4 years, 7 months ago by scheglov
Modified:
4 years, 7 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

Fixes for completing 'for (var v in^)' and 'if (v is^)'. The 'if (v is)' will require more work - we somehow manage to suggest 'if', 'final', 'switch', 'while', but NOT 'is'. But at least identifiers are now out. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/b73b82221e586d980007ae9843de4d6982de3a6a

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -12 lines) Patch
M pkg/analysis_server/lib/src/services/completion/dart/optype.dart View 5 chunks +29 lines, -11 lines 0 comments Download
M pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart View 3 chunks +13 lines, -1 line 2 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
4 years, 7 months ago (2016-05-06 19:51:00 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/1956813004/diff/1/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart File pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart (right): https://codereview.chromium.org/1956813004/diff/1/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart#newcode2172 pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart:2172: assertNotSuggested('int'); Should we also verify what *is* suggested?
4 years, 7 months ago (2016-05-06 20:00:29 UTC) #2
scheglov
https://codereview.chromium.org/1956813004/diff/1/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart File pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart (right): https://codereview.chromium.org/1956813004/diff/1/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart#newcode2172 pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart:2172: assertNotSuggested('int'); On 2016/05/06 20:00:29, Brian Wilkerson wrote: > Should ...
4 years, 7 months ago (2016-05-06 20:04:42 UTC) #3
scheglov
4 years, 7 months ago (2016-05-06 20:17:21 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
b73b82221e586d980007ae9843de4d6982de3a6a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698