Index: tests/language/generic_function_typedef2_test.dart |
diff --git a/tests/language/generic_function_typedef2_test.dart b/tests/language/generic_function_typedef2_test.dart |
index d0fac0c4d19fdabf42b283c5209c7442fab5ef91..8ca5ee49d6be5c1f94971e49f8d76308bf9534da 100644 |
--- a/tests/language/generic_function_typedef2_test.dart |
+++ b/tests/language/generic_function_typedef2_test.dart |
@@ -13,20 +13,23 @@ typedef G = F; //# 00: compile-time error |
typedef H = int; //# 01: compile-time error |
typedef I = A; //# 02: compile-time error |
typedef J = List<int>; //# 03: compile-time error |
-typedef K = Function(Function<A>(A |
+typedef K = Function( |
+ Function<A>(A |
<int> // //# 04: static type warning |
- )); |
-typedef L = Function({ |
+ )); |
+typedef L = Function( |
+ { |
/* // //# 05: compile-time error |
- bool |
+ bool |
*/ // //# 05: compile-time error |
- x}); |
+ x}); |
-typedef M = Function({ |
+typedef M = Function( |
+ { |
/* // //# 06: compile-time error |
- bool |
+ bool |
*/ // //# 06: compile-time error |
- int}); |
+ int}); |
foo({bool int}) {} |
main() { |