| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java
|
| index d43085c433be710c45cde5c1044ce29a8307d6d0..eb55ac0b5727a793c25f9d5d0c15ff56f418869c 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java
|
| @@ -35,7 +35,6 @@ import com.google.dart.engine.ast.Statement;
|
| import com.google.dart.engine.ast.VariableDeclarationStatement;
|
| import com.google.dart.engine.ast.WhileStatement;
|
| import com.google.dart.engine.element.LibraryElement;
|
| -import com.google.dart.engine.error.StaticTypeWarningCode;
|
| import com.google.dart.engine.source.Source;
|
| import com.google.dart.engine.type.InterfaceType;
|
| import com.google.dart.engine.type.Type;
|
| @@ -514,7 +513,7 @@ public class TypePropagationTest extends ResolverTestCase {
|
| " }",
|
| "}"));
|
| LibraryElement library = resolve(source);
|
| - assertErrors(source, StaticTypeWarningCode.UNDEFINED_METHOD);
|
| + assertNoErrors(source);
|
| CompilationUnit unit = resolveCompilationUnit(source, library);
|
| FunctionDeclaration function = (FunctionDeclaration) unit.getDeclarations().get(2);
|
| BlockFunctionBody body = (BlockFunctionBody) function.getFunctionExpression().getBody();
|
|
|