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

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

Issue 1227203011: Remove reference to as-yet-uncommitted file (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/completion/completion_dart.dart
diff --git a/pkg/analysis_server/lib/completion/completion_dart.dart b/pkg/analysis_server/lib/completion/completion_dart.dart
index 590e13d3b87474e4a5280894ca2d57c793f34a72..ee215674de8045be6063233f9d91f348f56be8d2 100644
--- a/pkg/analysis_server/lib/completion/completion_dart.dart
+++ b/pkg/analysis_server/lib/completion/completion_dart.dart
@@ -5,7 +5,6 @@
library analysis_server.completion.completion_dart;
import 'package:analysis_server/completion/completion_core.dart';
-import 'package:analysis_server/src/services/completion/completion_dart.dart';
import 'package:analyzer/src/generated/ast.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
@@ -29,21 +28,22 @@ abstract class DartCompletionContributor extends CompletionContributor {
if (libraries.length < 1) {
return null;
}
- CompilationUnit unit =
- context.getResolvedCompilationUnit2(source, libraries[0]);
- bool isResolved = true;
- if (unit == null) {
- // TODO(brianwilkerson) Implement a method for getting a parsed
- // compilation unit without parsing the unit if it hasn't been parsed.
+// CompilationUnit unit =
+// context.getResolvedCompilationUnit2(source, libraries[0]);
+// bool isResolved = true;
+// if (unit == null) {
+// // TODO(brianwilkerson) Implement a method for getting a parsed
+// // compilation unit without parsing the unit if it hasn't been parsed.
// unit = context.getParsedCompilationUnit(source);
- if (unit == null) {
- return null;
- }
- isResolved = false;
- }
- DartCompletionRequest dartRequest =
- new DartCompletionRequestImpl(request, unit, isResolved);
- return internalComputeSuggestions(dartRequest);
+// if (unit == null) {
+// return null;
+// }
+// isResolved = false;
+// }
+// DartCompletionRequest dartRequest =
+// new DartCompletionRequestImpl(request, unit, isResolved);
+// return internalComputeSuggestions(dartRequest);
+ return null;
}
/**
« 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