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

Unified Diff: pkg/front_end/lib/src/fasta/import.dart

Issue 2991753002: Add export dependencies to Kernel libraries and use them to resynthesize ExportElement(s) in Analyz… (Closed)
Patch Set: Extract exportedLibrary. Created 3 years, 5 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/front_end/lib/src/fasta/import.dart
diff --git a/pkg/front_end/lib/src/fasta/import.dart b/pkg/front_end/lib/src/fasta/import.dart
index 3753b7fd99aaa0a43c48d6c9e1c1331cb8c53fe2..39778cb6f51a3883be0fe0c0022fb47fb2822fb7 100644
--- a/pkg/front_end/lib/src/fasta/import.dart
+++ b/pkg/front_end/lib/src/fasta/import.dart
@@ -44,13 +44,13 @@ class Import {
new PrefixBuilder(this.prefix, deferred, importer, prefixCharOffset);
add = (String name, Builder member) {
if (member.isSetter) {
- prefix.exports.setters[name] = member;
+ prefix.exportScope.setters[name] = member;
} else {
- prefix.exports.local[name] = member;
+ prefix.exportScope.local[name] = member;
}
};
}
- imported.exports.forEach((String name, Builder member) {
+ imported.exportScope.forEach((String name, Builder member) {
if (combinators != null) {
for (Combinator combinator in combinators) {
if (combinator.isShow && !combinator.names.contains(name)) return;

Powered by Google App Engine
This is Rietveld 408576698