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

Unified Diff: pkg/front_end/lib/src/fasta/source/source_loader.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/source/source_loader.dart
diff --git a/pkg/front_end/lib/src/fasta/source/source_loader.dart b/pkg/front_end/lib/src/fasta/source/source_loader.dart
index ddaa2aded9c2bd8918bd2dc0e37a44e5b62cc43b..7a0500fb694aa33b9f7e7edc325cf260925cfa3d 100644
--- a/pkg/front_end/lib/src/fasta/source/source_loader.dart
+++ b/pkg/front_end/lib/src/fasta/source/source_loader.dart
@@ -217,7 +217,7 @@ class SourceLoader<L> extends Loader<L> {
both.add(exported);
}
for (Export export in exported.exporters) {
- exported.exports.forEach(export.addToExportScope);
+ exported.exportScope.forEach(export.addToExportScope);
}
}
bool wasChanged = false;
@@ -226,7 +226,7 @@ class SourceLoader<L> extends Loader<L> {
for (SourceLibraryBuilder exported in both) {
for (Export export in exported.exporters) {
SourceLibraryBuilder exporter = export.exporter;
- exported.exports.forEach((String name, Builder member) {
+ exported.exportScope.forEach((String name, Builder member) {
if (exporter.addToExportScope(name, member)) {
wasChanged = true;
}
@@ -255,7 +255,7 @@ class SourceLoader<L> extends Loader<L> {
}
});
List<String> exports = <String>[];
- library.exports.forEach((String name, Builder member) {
+ library.exportScope.forEach((String name, Builder member) {
while (member != null) {
if (!members.contains(member)) {
exports.add(name);

Powered by Google App Engine
This is Rietveld 408576698