| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/scope/EnclosedScope.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/scope/EnclosedScope.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/scope/EnclosedScope.java
|
| index f188823441a51122c72f33a134b0b5bada9eec6d..fec4aa0001a2ace1ea7b2e4b6a24a1d9879a887e 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/scope/EnclosedScope.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/scope/EnclosedScope.java
|
| @@ -52,11 +52,6 @@ public class EnclosedScope extends Scope {
|
| }
|
|
|
| @Override
|
| - public LibraryElement getDefiningLibrary() {
|
| - return enclosingScope.getDefiningLibrary();
|
| - }
|
| -
|
| - @Override
|
| public AnalysisErrorListener getErrorListener() {
|
| return enclosingScope.getErrorListener();
|
| }
|
| @@ -94,7 +89,7 @@ public class EnclosedScope extends Scope {
|
| if (hiddenNames.contains(name)) {
|
| getErrorListener().onError(
|
| new AnalysisError(
|
| - getSource(),
|
| + getSource(identifier),
|
| identifier.getOffset(),
|
| identifier.getLength(),
|
| CompileTimeErrorCode.REFERENCED_BEFORE_DECLARATION));
|
|
|