Index: tests/compiler/dart2js/assert_message_throw_test.dart |
diff --git a/tests/compiler/dart2js/assert_message_throw_test.dart b/tests/compiler/dart2js/assert_message_throw_test.dart |
index a87623235a9996965d2d50c1c1a6f58d53e92556..530e4040a2c05789a1b7f0dfc9faaedd7740f57d 100644 |
--- a/tests/compiler/dart2js/assert_message_throw_test.dart |
+++ b/tests/compiler/dart2js/assert_message_throw_test.dart |
@@ -63,9 +63,9 @@ main() { |
compiler.resolutionWorldBuilder.closedWorldForTesting; |
void check(String methodName, TypeMask expectedReturnType) { |
- Element element = compiler.mainApp.find(methodName); |
+ MemberElement element = compiler.mainApp.find(methodName); |
TypeMask typeMask = simplify( |
- compiler.globalInference.results.resultOf(element).returnType, |
+ compiler.globalInference.results.resultOfMember(element).returnType, |
closedWorld); |
Expect.equals(expectedReturnType, typeMask, |
"Unexpected return type on method '$methodName'."); |