| Index: compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java (revision 8158)
|
| +++ compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java (working copy)
|
| @@ -10,7 +10,8 @@
|
|
|
| class LibraryElementImplementation extends AbstractNodeElement implements LibraryElement {
|
|
|
| - private final Scope scope = new Scope("library", this);
|
| + private final Scope importScope = new Scope("import", this);
|
| + private final Scope scope = new Scope("library", this, importScope);
|
| private LibraryUnit libraryUnit;
|
| private MethodElement entryPoint;
|
|
|
| @@ -25,6 +26,10 @@
|
| return false;
|
| }
|
|
|
| + @Override
|
| + public Scope getImportScope() {
|
| + return importScope;
|
| + }
|
|
|
| @Override
|
| public Scope getScope() {
|
|
|