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

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

Issue 1528983004: Add support for the "external" keyword to summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
index 0bdd34ec14c52a7dd140db6c060a8a315515998c..7dfcbeea1384515363ccf50a2704c7137d7dc995 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -467,6 +467,7 @@ class _LibraryResynthesizer {
executableElement.type = new FunctionTypeImpl(executableElement);
executableElement.hasImplicitReturnType =
serializedExecutable.hasImplicitReturnType;
+ executableElement.external = serializedExecutable.isExternal;
}
/**

Powered by Google App Engine
This is Rietveld 408576698