Index: tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
index 9b17e80870d24e1bf3eee6b6e1648c9bc1c46978..6a3cd4004760c81eaa25b5fdf0f91b6042509ec9 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
@@ -37,7 +37,7 @@ void main() { |
checkReturnInClass(String className, String methodName, type) { |
dynamic cls = findElement(compiler, className); |
var element = cls.lookupLocalMember(methodName); |
- Expect.equals(type, typesInferrer.getReturnTypeOfElement(element)); |
+ Expect.equals(type, typesInferrer.getReturnTypeOfMember(element)); |
} |
checkReturnInClass( |