Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: pkg/compiler/lib/src/dart_types.dart

Issue 2439573003: Experiment with new function-type syntax.
Patch Set: Change a few more typedefs. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698