| Index: pkg/front_end/testcases/runtime_checks/contravariant_generic_method_type_parameter.dart.strong.expect
|
| diff --git a/pkg/front_end/testcases/runtime_checks/contravariant_generic_method_type_parameter.dart.strong.expect b/pkg/front_end/testcases/runtime_checks/contravariant_generic_method_type_parameter.dart.strong.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a8c8eaf54475448cec7c3e18e18af3e2acd2a5a5
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/runtime_checks/contravariant_generic_method_type_parameter.dart.strong.expect
|
| @@ -0,0 +1,18 @@
|
| +library test;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +typedef F<T extends core::Object> = (T) → void;
|
| +class C<T extends core::Object> extends core::Object {
|
| + default constructor •() → void
|
| + : super core::Object::•()
|
| + ;
|
| + method f<U extends (self::C::T) → void>(self::C::f::U x) → void {}
|
| +}
|
| +static method g(self::C<core::num> c) → void {
|
| + c.{self::C::f}<(core::Object) → void>((core::Object o) → core::Null {});
|
| +}
|
| +static method test() → void {
|
| + self::g(new self::C::•<core::int>());
|
| +}
|
| +static method main() → void {}
|
|
|