| Index: pkg/compiler/lib/src/dart_types.dart
|
| diff --git a/pkg/compiler/lib/src/dart_types.dart b/pkg/compiler/lib/src/dart_types.dart
|
| index 17e6472127b790a4d8829a7914be01bd0cb33a57..97f86c555778fc287c0288612e18f35c933f1d9b 100644
|
| --- a/pkg/compiler/lib/src/dart_types.dart
|
| +++ b/pkg/compiler/lib/src/dart_types.dart
|
| @@ -726,11 +726,7 @@ class FunctionType extends DartType {
|
|
|
| String get name => 'Function';
|
|
|
| - int computeArity() {
|
| - int arity = 0;
|
| - parameterTypes.forEach((_) { arity++; });
|
| - return arity;
|
| - }
|
| + int computeArity() => parameterTypes.length;
|
|
|
| int get hashCode {
|
| int hash = 3 * returnType.hashCode;
|
|
|