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

Unified Diff: pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart

Issue 2653683004: Stop using SDK summary bundle. Analyze dart:xxx as any other libraries. (Closed)
Patch Set: Restore optional SDK bundle. 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
« no previous file with comments | « pkg/analyzer/test/src/dart/analysis/search_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « pkg/analyzer/test/src/dart/analysis/search_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698