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 |
} |