Index: tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
index c8bafe6f52c73abc106964bbceb5a0c95e07abb7..0344ebb02d6cf7b5a6ead60ea4ea927c3575459f 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure5_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); |
} |