| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/FunctionTypeImpl.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/FunctionTypeImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/FunctionTypeImpl.java
|
| index 2ce36a3d4a499b491f3c9a2ef6d1b80c8c85e62c..74ecb5353a10915c32ba7586db8bcdf63ba8c5ab 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/FunctionTypeImpl.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/FunctionTypeImpl.java
|
| @@ -323,7 +323,7 @@ public class FunctionTypeImpl extends TypeImpl implements FunctionType {
|
| } else if (this == type || type.isDynamic() || type.isDartCoreFunction() || type.isObject()) {
|
| return true;
|
| } else if ((type instanceof UnionType)) {
|
| - return ((UnionTypeImpl) type).internalUnionTypeIsMoreSpecificThan(
|
| + return ((UnionTypeImpl) type).internalUnionTypeIsLessSpecificThan(
|
| this,
|
| withDynamic,
|
| visitedTypePairs);
|
|
|