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

Unified Diff: pkg/dev_compiler/lib/src/compiler/compiler.dart

Issue 2648213007: Revert "Use single InputPackagesResultProvider, without SdkSummaryResultProvider." (Closed)
Patch Set: Created 3 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
Index: pkg/dev_compiler/lib/src/compiler/compiler.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/compiler.dart b/pkg/dev_compiler/lib/src/compiler/compiler.dart
index e66dfca0cd68243390560a49653b7ae764153513..5a84af33c2194ffdf3b1adf86d543e82e5d8f9aa 100644
--- a/pkg/dev_compiler/lib/src/compiler/compiler.dart
+++ b/pkg/dev_compiler/lib/src/compiler/compiler.dart
@@ -86,7 +86,6 @@ class ModuleCompiler {
// Read the summaries.
var summaryData =
new SummaryDataStore(options.summaryPaths, recordDependencyInfo: true);
- summaryData.addBundle(null, sdk.getLinkedBundle());
var srcFactory = createSourceFactory(options,
sdkResolver: sdkResolver,
@@ -98,6 +97,7 @@ class ModuleCompiler {
AnalysisEngine.instance.createAnalysisContext() as AnalysisContextImpl;
context.analysisOptions = analysisOptions;
context.sourceFactory = srcFactory;
+ context.typeProvider = sdkResolver.dartSdk.context.typeProvider;
context.resultProvider =
new InputPackagesResultProvider(context, summaryData);
options.declaredVariables.forEach(context.declaredVariables.define);
« no previous file with comments | « pkg/analyzer_cli/lib/src/driver.dart ('k') | pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698