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

Issue 407443002: Fix analysis server 'analysis.getHover' when there is no hover information. (Closed)

Created:
6 years, 5 months ago by Paul Berry
Modified:
6 years, 5 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix analysis server 'analysis.getHover' when there is no hover information. Previously we returned {'hovers': [null]}. We now return {'hovers': []}. Also, tweak the analysis.getHover unit tests to use futures uniformly rather than a mix of futures and CPS. R=scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=38366

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -19 lines) Patch
M pkg/analysis_server/lib/src/domain_analysis.dart View 1 chunk +4 lines, -1 line 0 comments Download
M pkg/analysis_server/test/analysis_hover_test.dart View 10 chunks +25 lines, -17 lines 0 comments Download
M pkg/analysis_server/test/integration/analysis_domain_inttest.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Paul Berry
6 years, 5 months ago (2014-07-18 02:26:27 UTC) #1
scheglov
LGTM
6 years, 5 months ago (2014-07-18 02:30:54 UTC) #2
Paul Berry
6 years, 5 months ago (2014-07-18 03:30:25 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r38366 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698