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

Issue 2972063002: fix completion test expectation for fasta scanner (Closed)

Created:
3 years, 5 months ago by danrubel
Modified:
3 years, 5 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix completion test expectation for fasta scanner Committed: https://github.com/dart-lang/sdk/commit/8cca31711854212f34e24ab1d381c56b711a06e8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M pkg/analyzer_plugin/test/src/utilities/completion/completion_target_test.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (2 generated)
danrubel
3 years, 5 months ago (2017-07-06 18:05:03 UTC) #2
danrubel
Committed patchset #1 (id:1) manually as 8cca31711854212f34e24ab1d381c56b711a06e8 (presubmit successful).
3 years, 5 months ago (2017-07-06 18:08:01 UTC) #4
Brian Wilkerson
3 years, 5 months ago (2017-07-06 18:14:21 UTC) #5
Message was sent while issue was closed.
From a casual glance, it looks like analyzer is recovering by adding a synthetic
entry with a synthetic key and synthetic value (simple identifiers). I didn't
look at the code, only the test, so I might be wrong. If so, this gives code
completion something to complete from.

As long as completion will work inside an empty map literal (which I assume it
does), this seems like a reasonable change. lgtm.

Powered by Google App Engine
This is Rietveld 408576698