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

Unified Diff: lib/compiler/implementation/scanner/scanner_task.dart

Issue 10968010: Import scope rules updated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: lib/compiler/implementation/scanner/scanner_task.dart
diff --git a/lib/compiler/implementation/scanner/scanner_task.dart b/lib/compiler/implementation/scanner/scanner_task.dart
index f9a9f3af21127bd0dad6631514947669dbe346df..1df3ef33abe0dccaaa4efc73937880861859e8ab 100644
--- a/lib/compiler/implementation/scanner/scanner_task.dart
+++ b/lib/compiler/implementation/scanner/scanner_task.dart
@@ -179,7 +179,7 @@ class ScannerTask extends CompilerTask {
} else {
imported.forEachExport((Element element) {
compiler.withCurrentElement(element, () {
- library.addToScope(element, compiler);
+ library.addImport(element, compiler);
});
});
}

Powered by Google App Engine
This is Rietveld 408576698