Index: tests/compiler/dart2js/simple_inferrer_final_field_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_final_field_test.dart b/tests/compiler/dart2js/simple_inferrer_final_field_test.dart |
index 9f2ca0e5d225f103453f56a2d9b05b1ff7a5c0fb..d470de82754a3a2746c0691b8082d079e04b5c40 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_final_field_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_final_field_test.dart |
@@ -38,7 +38,7 @@ void main() { |
dynamic cls = findElement(compiler, className); |
var element = cls.lookupLocalMember(fieldName); |
Expect.equals(type, |
- simplify(typesInferrer.getTypeOfElement(element), closedWorld)); |
+ simplify(typesInferrer.getTypeOfMember(element), closedWorld)); |
} |
checkFieldTypeInClass( |