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

Unified Diff: pkg/analyzer/lib/src/summary/summary_sdk.dart

Issue 2485043004: Don't serialize elements of top-level function/constructor/method bodies. (Closed)
Patch Set: Created 4 years, 1 month 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/lib/src/summary/summary_sdk.dart
diff --git a/pkg/analyzer/lib/src/summary/summary_sdk.dart b/pkg/analyzer/lib/src/summary/summary_sdk.dart
index 5857d8b6280a8b6e4d0d07cff9d30e710a624011..3142b291e16cb47b47879b719437d85e9af83d2f 100644
--- a/pkg/analyzer/lib/src/summary/summary_sdk.dart
+++ b/pkg/analyzer/lib/src/summary/summary_sdk.dart
@@ -48,7 +48,7 @@ class SdkSummaryResultProvider extends ResynthesizerResultProvider {
@override
bool hasResultsForSource(Source source) {
- return source.source != null && source.isInSystemLibrary;
+ return source != null && source.isInSystemLibrary;
}
void _buildAsyncLibrary() {

Powered by Google App Engine
This is Rietveld 408576698