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

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

Issue 1375163003: Specification change for the 'libraryName' and 'partOfLibraryName' fields in Outline. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: tweak Created 5 years, 3 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 198955c4e705d20b767f1b620fa00f6e8834b2b9..712ffbff1156a7e9445278718fa176dca4d67c4a 100644
--- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart
+++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
@@ -217,7 +217,8 @@ void sendAnalysisNotificationOutline(AnalysisServer server, String file,
_sendNotification(server, () {
var computer = new DartUnitOutlineComputer(file, lineInfo, dartUnit);
var outline = computer.compute();
- var params = new protocol.AnalysisOutlineParams(file, outline);
+ var params = new protocol.AnalysisOutlineParams(
+ file, protocol.FileKind.LIBRARY, outline);
server.sendNotification(params.toNotification());
});
}

Powered by Google App Engine
This is Rietveld 408576698