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 88dfc680dfb7f27066b0ac34866ad4b7e5645c16..2b7fe82f4c84c0f8ab0bea395f7f8f6e31d4d8ab 100644 |
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart |
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart |
@@ -219,6 +219,8 @@ abstract class SummaryResynthesizer extends ElementResynthesizer { |
unitElement.source = librarySource; |
unitElement.librarySource = librarySource; |
libraryElement.createLoadLibraryFunction(typeProvider); |
+ libraryElement.publicNamespace = new Namespace({}); |
+ libraryElement.exportNamespace = new Namespace({}); |
return libraryElement; |
} |
UnlinkedUnit unlinkedSummary = _getUnlinkedSummaryOrNull(uri); |