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

Unified Diff: pkg/analysis_server/lib/src/operation/operation_analysis.dart

Issue 1749333004: Fill the new index in Analysis Server. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/operation/operation_analysis.dart
diff --git a/pkg/analysis_server/lib/src/operation/operation_analysis.dart b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
index 3b2c72418f777bb5422fef39bd96b6c011fa7bbc..b3623b04224ecb105a052e0dea80c6ba4e18040d 100644
--- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart
+++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
@@ -459,6 +459,7 @@ class _DartIndexOperation extends _SingleFileOperation {
Index index = server.index;
AnalysisContext context = unit.element.context;
index.index(context, unit);
+ server.index2?.indexUnit(unit);
} catch (exception, stackTrace) {
server.sendServerErrorNotification(
'Failed to index: $file', exception, stackTrace);
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/services/index2/index2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698