Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/library_loader.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/library_loader.dart b/sdk/lib/_internal/compiler/implementation/library_loader.dart |
| index 3c515a18c270cb52ced6910fc845255eaac0e1f9..6744f8fdb1e06d08affddbf119ba01c79d838691 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/library_loader.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/library_loader.dart |
| @@ -565,7 +565,7 @@ class ImportLink { |
| }); |
| } else { |
| importedLibrary.forEachExport((Element element) { |
| - compiler.withCurrentElement(element, () { |
| + compiler.withCurrentElement(importingLibrary, () { |
|
Johnni Winther
2013/09/12 10:49:16
Errors reported on [import] pointed to the wrong f
|
| if (combinatorFilter.exclude(element)) return; |
| importingLibrary.addImport(element, import, compiler); |
| }); |