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

Unified Diff: pkg/analysis_server/lib/src/services/completion/invocation_computer.dart

Issue 729283002: cleanup warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/bin/fuzz.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart b/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
index ff2b40ae76ac7c990d5dd18ad412391a36116e19..7191f4ee87b7c84ed583774594254f9d8421fbbb 100644
--- a/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
+++ b/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
@@ -55,9 +55,9 @@ class _ExpressionSuggestionBuilder implements SuggestionBuilder {
node = node.parent;
}
if (node is MethodInvocation) {
- node = node.realTarget;
+ node = (node as MethodInvocation).realTarget;
} else if (node is PropertyAccess) {
- node = node.realTarget;
+ node = (node as PropertyAccess).realTarget;
}
if (node is Expression) {
DartType type = node.bestType;
« no previous file with comments | « pkg/analysis_server/bin/fuzz.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698