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

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

Issue 1854863002: Issue 26096. Explicitly compute the result that ensures that directives are resolved in units. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix for a review comment. Created 4 years, 9 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
Index: pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart b/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
index 42d6823b4ab39cda6a353b184559b5c2ea2f8cdd..21ba3c7f000d51b8f5dd75e9e68e0de1c0750ec9 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
@@ -299,7 +299,7 @@ class DartCompletionRequestImpl implements DartCompletionRequest {
CompilationUnit unit = await _computeAsync(
this,
new LibrarySpecificUnit(libElem.source, unresolvedUnit.source),
- RESOLVED_UNIT3,
+ RESOLVED_UNIT4,
performance,
'resolve library unit');
checkAborted();
@@ -376,7 +376,7 @@ class DartCompletionRequestImpl implements DartCompletionRequest {
unit = await _computeAsync(
request,
new LibrarySpecificUnit(libSource, source),
- resultDescriptor ?? RESOLVED_UNIT3,
+ resultDescriptor ?? RESOLVED_UNIT4,
performance,
'resolve declarations');
}

Powered by Google App Engine
This is Rietveld 408576698