Index: tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart |
index 9878710c8380dbf2fe1782da62cfea5bd3ed11e0..e51c434eed5917007947bf31d151e9c6d4ce517d 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart |
@@ -38,7 +38,7 @@ void main() { |
var element = signature.requiredParameters.first; |
Expect.equals( |
type, |
- simplify(typesInferrer.getTypeOfElement(element), closedWorld), |
+ simplify(typesInferrer.getTypeOfParameter(element), closedWorld), |
functionName); |
} |