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

Unified Diff: pkg/front_end/lib/src/incremental/kernel_driver.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/incremental/kernel_driver.dart
diff --git a/pkg/front_end/lib/src/incremental/kernel_driver.dart b/pkg/front_end/lib/src/incremental/kernel_driver.dart
index df7445fb08e626de884e7c169035e95ce5d1aa01..6c2a9e52f39d30e4ee97ff058176a6932d3a6d73 100644
--- a/pkg/front_end/lib/src/incremental/kernel_driver.dart
+++ b/pkg/front_end/lib/src/incremental/kernel_driver.dart
@@ -285,7 +285,7 @@ class KernelDriver {
DillLibraryBuilder exportedLibrary =
dillTarget.loader.read(export.library.uri, -1, accessor: library);
if (exportedLibrary != null) {
- exportedLibrary.exports.forEach((name, member) {
+ exportedLibrary.exportScope.forEach((name, member) {
if (export.isExposed(name) &&
library.addToExportScope(name, member)) {
wasChanged = true;

Powered by Google App Engine
This is Rietveld 408576698