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

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

Issue 1936403002: Serialize / resynthesize 'isAsynchronous' and 'isGenerator' flags. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/lib/src/summary/summarize_elements.dart
diff --git a/pkg/analyzer/lib/src/summary/summarize_elements.dart b/pkg/analyzer/lib/src/summary/summarize_elements.dart
index dee769f34f7de0f61cffbae69d1aed525993dc15..e0e5c952c918df0e39c891d1675eedb7165a84ff 100644
--- a/pkg/analyzer/lib/src/summary/summarize_elements.dart
+++ b/pkg/analyzer/lib/src/summary/summarize_elements.dart
@@ -794,6 +794,8 @@ class _CompilationUnitSerializer {
b.kind = UnlinkedExecutableKind.functionOrMethod;
}
b.isAbstract = executableElement.isAbstract;
+ b.isAsynchronous = executableElement.isAsynchronous;
+ b.isGenerator = executableElement.isGenerator;
b.isStatic = executableElement.isStatic &&
executableElement.enclosingElement is ClassElement;
b.isExternal = executableElement.isExternal;

Powered by Google App Engine
This is Rietveld 408576698