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

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

Issue 781783002: Add an option for incremental resolution of API breaking changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/analysis_server/lib/driver.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index c34668222e6564b1097ec87e08f2241293031570..77cd21a135d67cff05cd629632f071f051875dba 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -192,6 +192,8 @@ class AnalysisServer {
new ServerContextManager(this, resourceProvider, packageMapProvider);
contextDirectoryManager.defaultOptions.incremental =
analysisServerOptions.enableIncrementalResolution;
+ contextDirectoryManager.defaultOptions.incrementalApi =
+ analysisServerOptions.enableIncrementalResolutionApi;
AnalysisEngine.instance.logger = new AnalysisLogger();
_onAnalysisStartedController = new StreamController.broadcast();
_onAnalysisCompleteController = new StreamController.broadcast();
@@ -918,6 +920,7 @@ class AnalysisServer {
class AnalysisServerOptions {
bool enableIncrementalResolution = false;
+ bool enableIncrementalResolutionApi = false;
}
/**
« no previous file with comments | « pkg/analysis_server/lib/driver.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698