Index: tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart b/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
index 9c530bd0a4c516a6a712c8729fdc5d8d99638dc6..fa811119fffc50268e45f75be98965425bc0fa49 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
@@ -34,7 +34,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( |