| Index: pkg/front_end/testcases/inference/downwards_inference_on_generic_constructor_arguments_infer_downwards.dart.strong.expect
|
| diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_generic_constructor_arguments_infer_downwards.dart.strong.expect b/pkg/front_end/testcases/inference/downwards_inference_on_generic_constructor_arguments_infer_downwards.dart.strong.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f1e9e9a853beb2e204597955a9248d9fd3126531
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/downwards_inference_on_generic_constructor_arguments_infer_downwards.dart.strong.expect
|
| @@ -0,0 +1,54 @@
|
| +library test;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +class F0<T extends core::Object> extends core::Object {
|
| + constructor •(core::List<self::F0::T> a) → void
|
| + : super core::Object::•() {}
|
| +}
|
| +class F1<T extends core::Object> extends core::Object {
|
| + constructor •({core::List<self::F1::T> a = null}) → void
|
| + : super core::Object::•() {}
|
| +}
|
| +class F2<T extends core::Object> extends core::Object {
|
| + constructor •(core::Iterable<self::F2::T> a) → void
|
| + : super core::Object::•() {}
|
| +}
|
| +class F3<T extends core::Object> extends core::Object {
|
| + constructor •(core::Iterable<core::Iterable<self::F3::T>> a) → void
|
| + : super core::Object::•() {}
|
| +}
|
| +class F4<T extends core::Object> extends core::Object {
|
| + constructor •({core::Iterable<core::Iterable<self::F4::T>> a = null}) → void
|
| + : super core::Object::•() {}
|
| +}
|
| +static method main() → void {
|
| + new self::F0::•<core::int>(<core::int>[]);
|
| + new self::F0::•<core::int>(<core::int>[3]);
|
| + new self::F0::•<core::int>(<core::int>["hello"]);
|
| + new self::F0::•<core::int>(<core::int>["hello", 3]);
|
| + new self::F1::•<core::int>(a: <core::int>[]);
|
| + new self::F1::•<core::int>(a: <core::int>[3]);
|
| + new self::F1::•<core::int>(a: <core::int>["hello"]);
|
| + new self::F1::•<core::int>(a: <core::int>["hello", 3]);
|
| + new self::F2::•<core::int>(<core::int>[]);
|
| + new self::F2::•<core::int>(<core::int>[3]);
|
| + new self::F2::•<core::int>(<core::int>["hello"]);
|
| + new self::F2::•<core::int>(<core::int>["hello", 3]);
|
| + new self::F3::•<core::int>(<core::Iterable<core::int>>[]);
|
| + new self::F3::•<core::int>(<core::Iterable<core::int>>[<core::int>[3]]);
|
| + new self::F3::•<core::int>(<core::Iterable<core::int>>[<core::int>["hello"]]);
|
| + new self::F3::•<core::int>(<core::Iterable<core::int>>[<core::int>["hello"], <core::int>[3]]);
|
| + new self::F4::•<core::int>(a: <core::Iterable<core::int>>[]);
|
| + new self::F4::•<core::int>(a: <core::Iterable<core::int>>[<core::int>[3]]);
|
| + new self::F4::•<core::int>(a: <core::Iterable<core::int>>[<core::int>["hello"]]);
|
| + new self::F4::•<core::int>(a: <core::Iterable<core::int>>[<core::int>["hello"], <core::int>[3]]);
|
| + new self::F3::•<dynamic>(<core::Iterable<dynamic>>[]);
|
| + self::F3<core::int> f31 = new self::F3::•<core::int>(<core::List<core::int>>[<core::int>[3]]);
|
| + self::F3<core::String> f32 = new self::F3::•<core::String>(<core::List<core::String>>[<core::String>["hello"]]);
|
| + self::F3<core::Object> f33 = new self::F3::•<core::Object>(<core::List<core::Object>>[<core::String>["hello"], <core::int>[3]]);
|
| + new self::F4::•<dynamic>(a: <core::Iterable<dynamic>>[]);
|
| + new self::F4::•<core::int>(a: <core::List<core::int>>[<core::int>[3]]);
|
| + new self::F4::•<core::String>(a: <core::List<core::String>>[<core::String>["hello"]]);
|
| + new self::F4::•<core::Object>(a: <core::List<core::Object>>[<core::String>["hello"], <core::int>[3]]);
|
| +}
|
|
|