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

Unified Diff: lib/src/driver.dart

Issue 1420843004: Remove `disableNewTaskModel` failsafe. (Closed) Base URL: https://github.com/dart-lang/analyzer_cli.git@master
Patch Set: Created 5 years, 2 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 | lib/src/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/driver.dart
diff --git a/lib/src/driver.dart b/lib/src/driver.dart
index 23bc8269a271a9aa45002a7bc28cac1f5453e851..752cb1e87597f572754ca4169c4936a35a1a6f7d 100644
--- a/lib/src/driver.dart
+++ b/lib/src/driver.dart
@@ -231,9 +231,6 @@ class Driver {
if (options.enableSuperMixins != _previousOptions.enableSuperMixins) {
return false;
}
- if (options.disableNewTaskModel != _previousOptions.disableNewTaskModel) {
- return false;
- }
return true;
}
@@ -388,8 +385,6 @@ class Driver {
return;
}
_previousOptions = options;
- // Determine whether the new task model should be used.
- AnalysisEngine.instance.useTaskModel = !options.disableNewTaskModel;
// Choose a package resolution policy and a diet parsing policy based on
// the command-line options.
SourceFactory sourceFactory = _chooseUriResolutionPolicy(options);
« no previous file with comments | « no previous file | lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698