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

Unified Diff: pkg/analyzer/tool/summary/build_sdk_summary.dart

Issue 1624853002: Store the result of type inference in summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.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
Index: pkg/analyzer/tool/summary/build_sdk_summary.dart
diff --git a/pkg/analyzer/tool/summary/build_sdk_summary.dart b/pkg/analyzer/tool/summary/build_sdk_summary.dart
index 840f7a11fadc4fa97e2101048c5dcae7be1771fb..738e0a19aee09b5c958ad8ef55ee10854e907465 100644
--- a/pkg/analyzer/tool/summary/build_sdk_summary.dart
+++ b/pkg/analyzer/tool/summary/build_sdk_summary.dart
@@ -54,8 +54,9 @@ main(List<String> args) {
Source librarySource = sdk.mapDartUri(lib.shortName);
LibraryElement libraryElement =
context.computeLibraryElement(librarySource);
+ // TODO(paulberry): also build a summary of the SDK in strong mode.
LibrarySerializationResult libraryResult =
- serializeLibrary(libraryElement, context.typeProvider);
+ serializeLibrary(libraryElement, context.typeProvider, false);
linkedLibraryUris.add(lib.shortName);
linkedLibraries.add(libraryResult.linked);
unlinkedUnitUris.addAll(libraryResult.unitUris);

Powered by Google App Engine
This is Rietveld 408576698