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

Unified Diff: pkg/kernel/lib/text/ast_to_text.dart

Issue 2987553002: Add import dependencies to Kernel libraries and use them to resynthesize ImportElement(s) in Analyz… (Closed)
Patch Set: 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/kernel/lib/text/ast_to_text.dart
diff --git a/pkg/kernel/lib/text/ast_to_text.dart b/pkg/kernel/lib/text/ast_to_text.dart
index b3f976c4210fc1cbb02315606ddc77dfbac2ad04..f5151efc71377b71d4c6fac22894273c14403854 100644
--- a/pkg/kernel/lib/text/ast_to_text.dart
+++ b/pkg/kernel/lib/text/ast_to_text.dart
@@ -283,12 +283,8 @@ class Printer extends Visitor<Null> {
endLine('import "$importPath" as $prefix;');
}
}
- for (var import in library.dependencies) {
Siggi Cherem (dart-lang) 2017/07/20 18:29:00 I'm not sure I understand this part of the change.
scheglov 2017/07/20 19:33:53 First of all, this code has not been used, because
Siggi Cherem (dart-lang) 2017/07/20 22:50:36 Thanks so much for the clarification. Given your e
scheglov 2017/07/21 16:21:33 I will add TODO, https://github.com/dart-lang/sdk/
- import.accept(this);
- }
endLine();
var inner = new Printer._inner(this, imports);
- library.dependencies.forEach(inner.writeNode);
library.typedefs.forEach(inner.writeNode);
library.classes.forEach(inner.writeNode);
library.fields.forEach(inner.writeNode);
« pkg/kernel/lib/binary/ast_from_binary.dart ('K') | « pkg/kernel/lib/binary/ast_from_binary.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698