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

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

Issue 1131373004: Propogate and handle lint analysis option. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged master. Created 5 years, 7 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/incremental_resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/domain_analysis.dart
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart
index d6e2ec5ea14a78ac233471df325c1c8bb8fd9ba4..773af6e412b2fb659d9d31e38ace92f702e7385b 100644
--- a/pkg/analysis_server/lib/src/domain_analysis.dart
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart
@@ -221,6 +221,11 @@ class AnalysisDomainHandler implements RequestHandler {
options.hint = newOptions.generateHints;
});
}
+ if (newOptions.generateLints != null) {
+ updaters.add((engine.AnalysisOptionsImpl options) {
+ options.lint = newOptions.generateLints;
+ });
+ }
server.updateOptions(updaters);
return new AnalysisUpdateOptionsResult().toResponse(request.id);
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/incremental_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698