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 4482d34a4e2149ccd82bf39b9c8869d639aafaaa..0c31ea71b6e37a895c958427a0ff8075b271996b 100644 |
--- a/pkg/compiler/lib/src/dart_types.dart |
+++ b/pkg/compiler/lib/src/dart_types.dart |
@@ -1280,8 +1280,8 @@ class SubtypeVisitor extends MoreSpecificVisitor { |
* substitute for the bound of [typeVariable]. [bound] holds the bound against |
* which [typeArgument] should be checked. |
*/ |
-typedef void CheckTypeVariableBound(GenericType type, DartType typeArgument, |
- TypeVariableType typeVariable, DartType bound); |
+typedef CheckTypeVariableBound = (GenericType type, DartType typeArgument, |
+ TypeVariableType typeVariable, DartType bound) -> void; |
/// Basic interface for the Dart type system. |
abstract class DartTypes { |