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

Unified Diff: lib/src/analysis_context.dart

Issue 1554683002: Update to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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 | « lib/runtime/dart/mirrors.js ('k') | lib/src/codegen/code_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/analysis_context.dart
diff --git a/lib/src/analysis_context.dart b/lib/src/analysis_context.dart
index 79ec11216f7fdd89ce509c17fbe879457705f58e..e761202049977864a5140773465cd3d09796aa6c 100644
--- a/lib/src/analysis_context.dart
+++ b/lib/src/analysis_context.dart
@@ -20,7 +20,7 @@ AnalysisContext createAnalysisContextWithSources(
SourceResolverOptions srcOptions,
{DartUriResolver sdkResolver,
List<UriResolver> fileResolvers}) {
- AnalysisEngine.instance.useTaskModel = true;
+ AnalysisEngine.instance.processRequiredPlugins();
var srcFactory = createSourceFactory(srcOptions,
sdkResolver: sdkResolver, fileResolvers: fileResolvers);
return createAnalysisContext()..sourceFactory = srcFactory;
« no previous file with comments | « lib/runtime/dart/mirrors.js ('k') | lib/src/codegen/code_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698