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 |
index cf7e91e6620636720ef20a87ae938551c76b231f..9ee5b829d6f82c52bac782006f06cb54a2d24462 100644 |
--- a/pkg/kernel/testcases/input/redirecting_factory.dart |
+++ b/pkg/kernel/testcases/input/redirecting_factory.dart |
@@ -1,47 +1,43 @@ |
abstract class FooBase<Tf> { |
- int get x; |
- factory FooBase(int x) = Foo<Tf>; |
+ int get x; |
+ factory FooBase(int x) = Foo<Tf>; |
} |
abstract class Foo<T> implements FooBase { |
- factory Foo(int x) = Bar<String,T>; |
+ factory Foo(int x) = Bar<String, T>; |
} |
-class Bar<Sb,Tb> implements Foo<Tb> { |
- int x; |
- Bar(this.x) { |
- print('Bar<$Sb,$Tb>'); |
- } |
+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); |
- } |
+ method() { |
+ return new FooBase<X>(4); |
+ } |
} |
-class SimpleCase<A,B> { |
- factory SimpleCase() = SimpleCaseImpl<A,B>; |
+class SimpleCase<A, B> { |
+ factory SimpleCase() = SimpleCaseImpl<A, B>; |
} |
-class SimpleCaseImpl<Ai,Bi> implements SimpleCase<Ai,Bi> { |
- factory SimpleCaseImpl() = SimpleCaseImpl2<Ai,Bi>; |
+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 SimpleCaseImpl2<Ai2, Bi2> implements SimpleCaseImpl<Ai2, Bi2> {} |
-} |
-class Mixin<M> { |
+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>(); |
+ print(new FooBase<double>(4).x); |
+ new SimpleCase<int, double>(); |
+ new Mix<double>(); |
} |