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

Unified Diff: tests/language/generic_function_typedef2_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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: 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() {

Powered by Google App Engine
This is Rietveld 408576698