| 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 db67e3a344b69ac2dbffdd6f35e8fdbf6e8ba393..21e806098189954e0a447bb4d9a11071f568a1c4 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
|
| @@ -515,7 +515,6 @@ public class TypePropagationTest extends ResolverTestCase {
|
| "}"));
|
| LibraryElement library = resolve(source);
|
| assertErrors(StaticTypeWarningCode.UNDEFINED_METHOD);
|
| - verify(source);
|
| CompilationUnit unit = resolveCompilationUnit(source, library);
|
| FunctionDeclaration function = (FunctionDeclaration) unit.getDeclarations().get(2);
|
| BlockFunctionBody body = (BlockFunctionBody) function.getFunctionExpression().getBody();
|
| @@ -523,7 +522,7 @@ public class TypePropagationTest extends ResolverTestCase {
|
| ReturnStatement statement = (ReturnStatement) ((Block) ifStatement.getThenStatement()).getStatements().get(
|
| 0);
|
| MethodInvocation invocation = (MethodInvocation) statement.getExpression();
|
| - assertNotNull(invocation.getMethodName().getElement());
|
| + assertNotNull(invocation.getMethodName().getPropagatedElement());
|
| }
|
|
|
| public void test_is_while() throws Exception {
|
|
|