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

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

Issue 1573203003: Compute public namespace during resynthesizing. (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/lib/src/summary/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
index a8525cb6ff41789a6d4f7ac01353681f51009e06..d6221623e16c1b7bc1038bf8aeec8dda35698d52 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -707,6 +707,10 @@ class _LibraryResynthesizer {
classElement.supertype = objectElement.type;
}
}
+ // Compute public namespace.
+ libraryElement.publicNamespace =
+ new NamespaceBuilder().createPublicNamespaceForLibrary(libraryElement);
+ // Done.
return libraryElement;
}

Powered by Google App Engine
This is Rietveld 408576698