| library redirecting_factory_constructors.typeparambounds_test; |
| import self as self; |
| import "dart:core" as core; |
| |
| class X extends core::Object { |
| synthetic constructor •() → void |
| : super core::Object::•() |
| ; |
| } |
| class Y extends self::X { |
| synthetic constructor •() → void |
| : super self::X::•() |
| ; |
| } |
| class A<T extends core::Object, S extends self::A::T> extends core::Object { |
| constructor •(self::A::T t, self::A::S s) → void |
| : super core::Object::•() |
| ; |
| redirecting_factory redir<T extends core::Object, S extends T>(T t, S s) = self::A::•<T, S>; |
| } |
| static method main() → dynamic { |
| new self::A::•<self::X, self::Y>(new self::X::•(), new self::Y::•()); |
| } |