Index: pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart |
diff --git a/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart b/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart |
index 517196294a8f9c7f4b0175391958e98c619a424c..19d228a692f8b6c32f6b16af6225fc4f8665ab61 100644 |
--- a/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart |
+++ b/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart |
@@ -119,8 +119,8 @@ class IncrementalResolvedAstGeneratorImpl |
// TODO(paulberry): can we just use null? |
var fileContentOverlay = new FileContentOverlay(); |
var sdkContext = new AnalysisContextImpl(); |
- var dartSdk = new _DartSdkProxy( |
- await _options.getSdkSummary(), sdkContext, _fileRepository); |
+ var sdkBundle = await _options.getSdkSummary(); |
+ var dartSdk = new _DartSdkProxy(sdkBundle, sdkContext, _fileRepository); |
sdkContext.sourceFactory = |
new SourceFactory([new DartUriResolver(dartSdk)]); |
@@ -134,7 +134,8 @@ class IncrementalResolvedAstGeneratorImpl |
fileContentOverlay, |
'front_end', |
sourceFactory, |
- analysisOptions); |
+ analysisOptions, |
+ sdkBundle: sdkBundle); |
_isInitialized = true; |
} |