| Index: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| index 2639c1431c5bf326d6946bc015de8963813e84c9..53b44e9de141da5c33a6203f8dc3fc8210fbbe33 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| @@ -38,6 +38,7 @@ import com.google.dart.compiler.resolver.ClassElement;
|
| import com.google.dart.compiler.resolver.Element;
|
| import com.google.dart.compiler.resolver.ElementKind;
|
| import com.google.dart.compiler.resolver.MethodElement;
|
| +import com.google.dart.compiler.resolver.NodeElement;
|
| import com.google.dart.compiler.resolver.ResolverErrorCode;
|
| import com.google.dart.compiler.resolver.TypeErrorCode;
|
|
|
| @@ -767,7 +768,7 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
|
| invocation = (DartUnqualifiedInvocation) stmt.getExpression();
|
| }
|
| // Check that unqualified foo() invocation is resolved to the top-level (library) function.
|
| - Element element = invocation.getTarget().getElement();
|
| + NodeElement element = invocation.getTarget().getElement();
|
| assertNotNull(element);
|
| assertSame(unit, element.getNode().getParent());
|
| }
|
|
|