Index: tests/compiler/dart2js/trust_type_annotations_test.dart |
diff --git a/tests/compiler/dart2js/trust_type_annotations_test.dart b/tests/compiler/dart2js/trust_type_annotations_test.dart |
index f7a390aaf76bbf44234432dec62c70ff3c8f955e..55514ab32516b98d5a8c85ed705cdd6e2e30f0be 100644 |
--- a/tests/compiler/dart2js/trust_type_annotations_test.dart |
+++ b/tests/compiler/dart2js/trust_type_annotations_test.dart |
@@ -57,14 +57,14 @@ void main() { |
checkReturn(String name, TypeMask type) { |
var element = classA.lookupMember(name); |
- var mask = typesInferrer.getReturnTypeOfElement(element); |
+ var mask = typesInferrer.getReturnTypeOfMember(element); |
Expect.isTrue(type.containsMask(mask, closedWorld)); |
} |
checkType(String name, type) { |
var element = classA.lookupMember(name); |
Expect.isTrue(type.containsMask( |
- typesInferrer.getTypeOfElement(element), closedWorld)); |
+ typesInferrer.getTypeOfMember(element), closedWorld)); |
} |
var intMask = new TypeMask.subtype( |