| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzer.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzer.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzer.java
|
| index 1101fbcf7961fb3a36d35d807d7e1f3eb69865bb..c9c0688096cbaab0f208ecfb2fcc247a69f7c1e0 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzer.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzer.java
|
| @@ -65,6 +65,7 @@ import com.google.dart.engine.element.ClassElement;
|
| import com.google.dart.engine.element.ConstructorElement;
|
| import com.google.dart.engine.element.Element;
|
| import com.google.dart.engine.element.ExecutableElement;
|
| +import com.google.dart.engine.element.FunctionElement;
|
| import com.google.dart.engine.element.FunctionTypeAliasElement;
|
| import com.google.dart.engine.element.LibraryElement;
|
| import com.google.dart.engine.element.LocalVariableElement;
|
| @@ -1435,7 +1436,7 @@ public class StaticTypeAnalyzer extends SimpleAstVisitor<Void> {
|
| return dynamicType;
|
| } else if (returnType instanceof InterfaceType) {
|
| MethodElement callMethod = ((InterfaceType) returnType).lookUpMethod(
|
| - ElementResolver.CALL_METHOD_NAME,
|
| + FunctionElement.CALL_METHOD_NAME,
|
| resolver.getDefiningLibrary());
|
| if (callMethod != null) {
|
| return callMethod.getType().getReturnType();
|
|
|