| Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart.strong.expect
|
| diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart.strong.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart.strong.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6e5e2064eb9684566a77cda27f5bb2b76752d421
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart.strong.expect
|
| @@ -0,0 +1,19 @@
|
| +library test;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +class C<T extends core::Object> extends core::Object {
|
| + field self::C::T t;
|
| + constructor •(self::C::T t) → void
|
| + : self::C::t = t, super core::Object::•()
|
| + ;
|
| +}
|
| +static method main() → dynamic {
|
| + self::C<core::int> x = new self::C::•<core::int>(42);
|
| + core::num y;
|
| + self::C<core::int> c_int = new self::C::•<core::int>(y);
|
| + self::C<core::num> c_num = new self::C::•<core::num>(123);
|
| + self::C<core::num> c_num2 = let final self::C<core::num> #t1 = new self::C::•<core::num>(456) in let final dynamic #t2 = #t1.t = 1.0 in #t1;
|
| + self::C<dynamic> c_dynamic = new self::C::•<dynamic>(42);
|
| + x.t = "hello";
|
| +}
|
|
|