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

Unified Diff: pkg/kernel/lib/binary/limited_ast_to_binary.dart

Issue 3008763002: Store actual Reference(s) for additional exports. (Closed)
Patch Set: Fixes for review comments. Created 3 years, 4 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
« no previous file with comments | « pkg/kernel/lib/binary/ast_to_binary.dart ('k') | pkg/kernel/lib/import_table.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/binary/limited_ast_to_binary.dart
diff --git a/pkg/kernel/lib/binary/limited_ast_to_binary.dart b/pkg/kernel/lib/binary/limited_ast_to_binary.dart
index 5766f67413192dbf163a1c525e018d5f06fe82eb..67400c8367e27d5a19f85d196e253abf60880a29 100644
--- a/pkg/kernel/lib/binary/limited_ast_to_binary.dart
+++ b/pkg/kernel/lib/binary/limited_ast_to_binary.dart
@@ -108,6 +108,14 @@ class ReferencesStringIndexer extends StringIndexer {
_handleReferencedName(node.canonicalName);
}
+ @override
+ visitLibrary(Library node) {
+ for (var reference in node.additionalExports) {
+ _handleReferencedName(reference.canonicalName);
+ }
+ super.visitLibrary(node);
+ }
+
@override
visitLibraryDependency(LibraryDependency node) {
_handleReferencedName(node.importedLibraryReference.canonicalName);
« no previous file with comments | « pkg/kernel/lib/binary/ast_to_binary.dart ('k') | pkg/kernel/lib/import_table.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698