Index: pkg/kernel/testcases/input/redirecting_factory.dart |
diff --git a/pkg/kernel/testcases/input/redirecting_factory.dart b/pkg/kernel/testcases/input/redirecting_factory.dart |
deleted file mode 100644 |
index 9ee5b829d6f82c52bac782006f06cb54a2d24462..0000000000000000000000000000000000000000 |
--- a/pkg/kernel/testcases/input/redirecting_factory.dart |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-abstract class FooBase<Tf> { |
- int get x; |
- factory FooBase(int x) = Foo<Tf>; |
-} |
- |
-abstract class Foo<T> implements FooBase { |
- factory Foo(int x) = Bar<String, T>; |
-} |
- |
-class Bar<Sb, Tb> implements Foo<Tb> { |
- int x; |
- Bar(this.x) { |
- print('Bar<$Sb,$Tb>'); |
- } |
-} |
- |
-class Builder<X> { |
- method() { |
- return new FooBase<X>(4); |
- } |
-} |
- |
-class SimpleCase<A, B> { |
- factory SimpleCase() = SimpleCaseImpl<A, B>; |
-} |
- |
-class SimpleCaseImpl<Ai, Bi> implements SimpleCase<Ai, Bi> { |
- factory SimpleCaseImpl() = SimpleCaseImpl2<Ai, Bi>; |
-} |
- |
-class SimpleCaseImpl2<Ai2, Bi2> implements SimpleCaseImpl<Ai2, Bi2> {} |
- |
-class Base<M> {} |
- |
-class Mixin<M> {} |
- |
-class Mix<M> = Base<M> with Mixin<M>; |
- |
-main() { |
- print(new FooBase<double>(4).x); |
- new SimpleCase<int, double>(); |
- new Mix<double>(); |
-} |