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

Unified Diff: pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart

Issue 1900373003: Code Completion API fix of mistake in DartCompletionRequest (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months 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 | « no previous file | 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/provisional/completion/dart/completion_dart.dart
diff --git a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart
index 27a491520b1061ba121cca6048db254be0d6ee05..97a162ed166db9f5bbd3a6560efe0935a627b742 100644
--- a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart
+++ b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart
@@ -115,7 +115,7 @@ abstract class DartCompletionRequest extends CompletionRequest {
* Any information obtained from [target] prior to calling this method
* should be discarded as it may have changed.
*/
- Future resolveContainingExpression(Expression expression);
+ Future resolveContainingExpression(AstNode node);
/**
* Return a [Future] that completes when the element associated with
@@ -125,7 +125,7 @@ abstract class DartCompletionRequest extends CompletionRequest {
* Any information obtained from [target] prior to calling this method
* should be discarded as it may have changed.
*/
- Future resolveContainingStatement(Statement expression);
+ Future resolveContainingStatement(AstNode node);
/**
* Return a [Future] that completes with a list of [ImportElement]s
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698