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

Unified Diff: pkg/analysis_server/lib/src/single_context_manager.dart

Issue 2571593002: Support for overlay only files in Analysis Server with the new driver. (Closed)
Patch Set: Created 4 years 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/single_context_manager.dart
diff --git a/pkg/analysis_server/lib/src/single_context_manager.dart b/pkg/analysis_server/lib/src/single_context_manager.dart
index 5c28cae3f107194a03c863287b4d9dc613bd35ea..4588fea8dbf0a1719a68d83fda6e9af8fcfba1c9 100644
--- a/pkg/analysis_server/lib/src/single_context_manager.dart
+++ b/pkg/analysis_server/lib/src/single_context_manager.dart
@@ -147,6 +147,11 @@ class SingleContextManager implements ContextManager {
}
@override
+ AnalysisDriver getDriverFor(String path) {
+ return null;
Paul Berry 2016/12/12 21:11:37 Would it be better to throw UnimplementedError lik
scheglov 2016/12/12 21:13:08 It would. Thank you. Fixed.
+ }
+
+ @override
List<AnalysisDriver> getDriversInAnalysisRoot(Folder analysisRoot) {
throw new UnimplementedError(
'Unexpected invocation of getDriversInAnalysisRoot in SingleContextManager');

Powered by Google App Engine
This is Rietveld 408576698