Index: pkg/front_end/testcases/redirecting_factory.dart.outline.expect |
diff --git a/pkg/kernel/testcases/spec-mode/redirecting_factory.baseline.txt b/pkg/front_end/testcases/redirecting_factory.dart.outline.expect |
similarity index 51% |
rename from pkg/kernel/testcases/spec-mode/redirecting_factory.baseline.txt |
rename to pkg/front_end/testcases/redirecting_factory.dart.outline.expect |
index 8ad4aa238ade2b3148b385e59b4b520745672b5a..cf4e8e262e0d5af3800b9806651c7260561abc32 100644 |
--- a/pkg/kernel/testcases/spec-mode/redirecting_factory.baseline.txt |
+++ b/pkg/front_end/testcases/redirecting_factory.dart.outline.expect |
@@ -3,51 +3,55 @@ import self as self; |
import "dart:core" as core; |
abstract class FooBase<Tf extends core::Object> extends core::Object { |
+ static field dynamic _redirecting# = <dynamic>[self::FooBase::•]; |
abstract get x() → core::int; |
+ static factory •<Tf extends core::Object>(core::int x) → dynamic |
+ let final dynamic #t1 = self::Foo::• in invalid-expression; |
} |
abstract class Foo<T extends core::Object> extends core::Object implements self::FooBase<dynamic> { |
+ static field dynamic _redirecting# = <dynamic>[self::Foo::•]; |
+ static factory •<T extends core::Object>(core::int x) → dynamic |
+ let final dynamic #t2 = self::Bar::• in invalid-expression; |
} |
class Bar<Sb extends core::Object, Tb extends core::Object> extends core::Object implements self::Foo<self::Bar::Tb> { |
field core::int x; |
- constructor •(core::int x) → void |
- : self::Bar::x = x, super core::Object::•() { |
- core::print("Bar<${self::Bar::Sb},${self::Bar::Tb}>"); |
- } |
+ constructor •(dynamic x) → void |
+ ; |
} |
class Builder<X extends core::Object> extends core::Object { |
constructor •() → void |
- : super core::Object::•() |
; |
- method method() → dynamic { |
- return new self::Bar::•<core::String, self::Builder::X>(4); |
- } |
+ method method() → dynamic |
+ ; |
} |
class SimpleCase<A extends core::Object, B extends core::Object> extends core::Object { |
+ static field dynamic _redirecting# = <dynamic>[self::SimpleCase::•]; |
+ static factory •<A extends core::Object, B extends core::Object>() → dynamic |
+ let final dynamic #t3 = self::SimpleCaseImpl::• in invalid-expression; |
} |
class SimpleCaseImpl<Ai extends core::Object, Bi extends core::Object> extends core::Object implements self::SimpleCase<self::SimpleCaseImpl::Ai, self::SimpleCaseImpl::Bi> { |
+ static field dynamic _redirecting# = <dynamic>[self::SimpleCaseImpl::•]; |
+ static factory •<Ai extends core::Object, Bi extends core::Object>() → dynamic |
+ let final dynamic #t4 = self::SimpleCaseImpl2::• in invalid-expression; |
} |
class SimpleCaseImpl2<Ai2 extends core::Object, Bi2 extends core::Object> extends core::Object implements self::SimpleCaseImpl<self::SimpleCaseImpl2::Ai2, self::SimpleCaseImpl2::Bi2> { |
constructor •() → void |
- : super core::Object::•() |
; |
} |
class Base<M extends core::Object> extends core::Object { |
constructor •() → void |
- : super core::Object::•() |
; |
} |
class Mixin<M extends core::Object> extends core::Object { |
constructor •() → void |
- : super core::Object::•() |
; |
} |
-class Mix<M extends core::Object> extends self::Base<self::Mix::M> implements self::Mixin<self::Mix::M> { |
+class Mix<M extends core::Object> extends self::Mix^Mixin<self::Mix::M> { |
constructor •() → void |
: super self::Base::•() |
; |
} |
-static method main() → dynamic { |
- core::print(new self::Bar::•<core::String, core::double>(4).x); |
- new self::SimpleCaseImpl2::•<core::int, core::double>(); |
- new self::Mix::•<core::double>(); |
+abstract class Mix^Mixin<M extends core::Object> = self::Base<self::Mix^Mixin::M> with self::Mixin<self::Mix^Mixin::M> { |
} |
+static method main() → dynamic |
+ ; |