| Index: pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super.dart.direct.expect
|
| diff --git a/pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super.dart.direct.expect b/pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super.dart.direct.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..30b0db23a63525edc136999220cc558f84de20a2
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super.dart.direct.expect
|
| @@ -0,0 +1,31 @@
|
| +library test;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +class B extends core::Object {
|
| + default constructor •() → void
|
| + : super core::Object::•()
|
| + ;
|
| + method f(core::int x) → void {}
|
| +}
|
| +abstract class I<T extends core::Object> extends core::Object {
|
| + default constructor •() → void
|
| + : super core::Object::•()
|
| + ;
|
| + abstract method f(self::I::T x) → void;
|
| +}
|
| +class C extends self::B implements self::I<core::int> {
|
| + default constructor •() → void
|
| + : super self::B::•()
|
| + ;
|
| +}
|
| +static method g1(self::C c) → void {
|
| + c.f(1);
|
| +}
|
| +static method g2(self::I<core::num> i) → void {
|
| + i.f(1.5);
|
| +}
|
| +static method test() → void {
|
| + self::g2(new self::C::•());
|
| +}
|
| +static method main() → void {}
|
|
|