| Index: frog/leg/scanner/scanner_task.dart
|
| ===================================================================
|
| --- frog/leg/scanner/scanner_task.dart (revision 5283)
|
| +++ frog/leg/scanner/scanner_task.dart (working copy)
|
| @@ -105,12 +105,11 @@
|
| if (prefix !== null) {
|
| library.define(new PrefixElement(prefix, imported, library), compiler);
|
| } else {
|
| - for (Link<Element> link = imported.topLevelElements; !link.isEmpty();
|
| - link = link.tail) {
|
| - compiler.withCurrentElement(link.head, () {
|
| - library.define(link.head, compiler);
|
| - });
|
| - }
|
| + imported.forEachExport((Element element) {
|
| + compiler.withCurrentElement(element, () {
|
| + library.define(element, compiler);
|
| + });
|
| + });
|
| }
|
| }
|
| }
|
|
|