| Index: pkg/front_end/testcases/inference/propagate_inference_to_field_in_class_dynamic_warnings.dart.strong.expect
|
| diff --git a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class_dynamic_warnings.dart.strong.expect
|
| similarity index 50%
|
| copy from pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect
|
| copy to pkg/front_end/testcases/inference/propagate_inference_to_field_in_class_dynamic_warnings.dart.strong.expect
|
| index 72c646a47054cc0bb3e94ab8bb576e3f95196f75..53dc4a9636dd1bc262e421104431973c2a11472d 100644
|
| --- a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect
|
| +++ b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class_dynamic_warnings.dart.strong.expect
|
| @@ -2,13 +2,15 @@ library test;
|
| import self as self;
|
| import "dart:core" as core;
|
|
|
| -class Foo<T extends core::Pattern> extends core::Object {
|
| +class A extends core::Object {
|
| + field core::int x = 2;
|
| constructor •() → void
|
| : super core::Object::•()
|
| ;
|
| - method method(self::Foo::T u) → self::Foo::T
|
| - return u;
|
| }
|
| static method main() → dynamic {
|
| - new self::Foo::•<core::String>().method(42);
|
| + dynamic a = new self::A::•();
|
| + self::A b = a;
|
| + core::print(a.x);
|
| + core::print(a.x.+(2));
|
| }
|
|
|