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

Unified Diff: tests/lib/mirrors/circular_factory_redirection_test.dart

Issue 2768073002: Format all 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/lib/mirrors/circular_factory_redirection_test.dart
diff --git a/tests/lib/mirrors/circular_factory_redirection_test.dart b/tests/lib/mirrors/circular_factory_redirection_test.dart
index bac6c918283b160a8e08ff1bf31ef2f059ab011e..b35d29a876e44947c5f5e5dad775e2b7c3d0f4f4 100644
--- a/tests/lib/mirrors/circular_factory_redirection_test.dart
+++ b/tests/lib/mirrors/circular_factory_redirection_test.dart
@@ -10,21 +10,23 @@ class A {
factory A.circular() = B.circular;
const factory A.circular2() = B.circular2;
}
+
class B implements A {
B();
factory B.circular() = C.circular;
const factory B.circular2() = C.circular2;
}
+
class C implements B {
const C();
factory C.circular()
/* //# 01: compile-time error
- = C;
+ = C;
*/ = A.circular; //# 01: continued
const factory C.circular2()
/* //# 02: compile-time error
- = C;
+ = C;
*/ = A.circular2; //# 02: continued
}

Powered by Google App Engine
This is Rietveld 408576698