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

Issue 1260593005: update suggestion element return type to have type param (Closed)

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

update suggestion element return type to have type param cleanup loadLibrary suggestion to have correct element dartbug.com/23905 R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/bf05b75f43648b2184fb9e7f59762bdbe746207b

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -64 lines) Patch
M pkg/analysis_server/lib/src/protocol_server.dart View 4 chunks +19 lines, -19 lines 3 comments Download
M pkg/analysis_server/lib/src/services/completion/prefixed_element_contributor.dart View 2 chunks +6 lines, -15 lines 0 comments Download
M pkg/analysis_server/lib/src/services/completion/suggestion_builder.dart View 2 chunks +4 lines, -29 lines 0 comments Download
M pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
danrubel
5 years, 4 months ago (2015-08-04 00:55:40 UTC) #2
Brian Wilkerson
LGTM https://codereview.chromium.org/1260593005/diff/1/pkg/analysis_server/lib/src/protocol_server.dart File pkg/analysis_server/lib/src/protocol_server.dart (right): https://codereview.chromium.org/1260593005/diff/1/pkg/analysis_server/lib/src/protocol_server.dart#newcode55 pkg/analysis_server/lib/src/protocol_server.dart:55: return element.returnType.toString(); Shouldn't this (and line 61) be ...
5 years, 4 months ago (2015-08-04 04:40:13 UTC) #3
danrubel
https://codereview.chromium.org/1260593005/diff/1/pkg/analysis_server/lib/src/protocol_server.dart File pkg/analysis_server/lib/src/protocol_server.dart (right): https://codereview.chromium.org/1260593005/diff/1/pkg/analysis_server/lib/src/protocol_server.dart#newcode55 pkg/analysis_server/lib/src/protocol_server.dart:55: return element.returnType.toString(); On 2015/08/04 04:40:13, Brian Wilkerson wrote: > ...
5 years, 4 months ago (2015-08-05 05:08:24 UTC) #4
danrubel
Committed patchset #1 (id:1) manually as bf05b75f43648b2184fb9e7f59762bdbe746207b (presubmit successful).
5 years, 4 months ago (2015-08-05 05:08:50 UTC) #5
Brian Wilkerson
5 years, 4 months ago (2015-08-05 13:19:18 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/1260593005/diff/1/pkg/analysis_server/lib/src...
File pkg/analysis_server/lib/src/protocol_server.dart (right):

https://codereview.chromium.org/1260593005/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/protocol_server.dart:55: return
element.returnType.toString();
> > Shouldn't this (and line 61) be 'displayName' rather than 'toString()'
(after
> > checking for 'null')?
> 
> displayName does not include the type parameters, but perhaps there is an
> accessor that does so that I have missed?

If not, then we need to add one. toString() is strictly for debugging and should
never be displayed to the user.

Powered by Google App Engine
This is Rietveld 408576698