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

Unified Diff: tests/language_strong/cyclic_typedef_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 years, 9 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_strong/cyclic_typedef_test.dart
diff --git a/tests/language_strong/cyclic_typedef_test.dart b/tests/language_strong/cyclic_typedef_test.dart
index c660527612e59c82a7a6be058ab9b2639d78f624..1f42e613fa3885263cd7d5d75c432c148a687130 100644
--- a/tests/language_strong/cyclic_typedef_test.dart
+++ b/tests/language_strong/cyclic_typedef_test.dart
@@ -9,47 +9,47 @@
typedef
// Cyclic through return type.
-A /// 01: compile-time error
+A //# 01: compile-time error
A // The name of the typedef
// Cyclic through type variable bound.
-<T extends A> /// 10: compile-time error
+<T extends A> //# 10: compile-time error
// Cyclic through generic type variable bound.
-<T extends List<A>> /// 11: compile-time error
+<T extends List<A>> //# 11: compile-time error
( // The left parenthesis of the typedef arguments.
// Cyclic through parameter type.
-A a /// 02: compile-time error
+A a //# 02: compile-time error
// Cyclic through optional parameter type.
-[A a] /// 03: compile-time error
+[A a] //# 03: compile-time error
// Cyclic through named parameter type.
-{A a} /// 04: compile-time error
+{A a} //# 04: compile-time error
// Cyclic through generic parameter type.
-List<A> a /// 05: compile-time error
+List<A> a //# 05: compile-time error
// Cyclic through return type of function typed parameter.
-A f() /// 06: compile-time error
+A f() //# 06: compile-time error
// Cyclic through parameter type of function typed parameter.
-f(A a) /// 07: compile-time error
+f(A a) //# 07: compile-time error
// Cyclic through another typedef.
-B b /// 08: compile-time error
+B b //# 08: compile-time error
// Cyclic through another more typedefs.
-C c /// 09: compile-time error
+C c //# 09: compile-time error
// Reference through a class is not a cyclic self-reference.
-Class c /// 12: ok
+Class c //# 12: ok
// Reference through a class type bound is not a cyclic self-reference.
-Class c /// 13: ok
+Class c //# 13: ok
); // The right parenthesis of the typedef arguments.
@@ -57,9 +57,9 @@ typedef B(A a);
typedef C(B b);
class Class
-<T extends A> /// 13: continued
+<T extends A> //# 13: continued
{
- A a; /// 12: continued
+ A a; //# 12: continued
}
void testA(A a) {}
« no previous file with comments | « tests/language_strong/cyclic_type_variable_test.dart ('k') | tests/language_strong/default_factory2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698