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

Unified Diff: pkg/analyzer/lib/src/context/context.dart

Issue 2988343002: Initial support for an explicit plugin list (Closed)
Patch Set: Created 3 years, 4 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/analyzer/lib/src/context/context.dart
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart
index 9285f76ed75767e6cc0e60d45ff589ec53293893..73e8165626a2c7a0632adfa7c7f775b3ed34761c 100644
--- a/pkg/analyzer/lib/src/context/context.dart
+++ b/pkg/analyzer/lib/src/context/context.dart
@@ -270,6 +270,8 @@ class AnalysisContextImpl implements InternalAnalysisContext {
options.generateImplicitErrors ||
this._options.generateSdkErrors != options.generateSdkErrors ||
this._options.dart2jsHint != options.dart2jsHint ||
+ _notEqual(
+ this._options.enabledPluginNames, options.enabledPluginNames) ||
_notEqual(this._options.errorProcessors, options.errorProcessors) ||
_notEqual(this._options.excludePatterns, options.excludePatterns) ||
(this._options.hint && !options.hint) ||
@@ -311,6 +313,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
options.enableLazyAssignmentOperators;
this._options.enableSuperMixins = options.enableSuperMixins;
this._options.enableTiming = options.enableTiming;
+ this._options.enabledPluginNames = options.enabledPluginNames;
this._options.errorProcessors = options.errorProcessors;
this._options.excludePatterns = options.excludePatterns;
this._options.hint = options.hint;
« no previous file with comments | « pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698