| Index: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| index 5e2bcd6adc92ffcb88ac8fff3ee9a06ca722bbae..1d001ed95b9a183ba6f3f6b472c452df8b1dace1 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| @@ -245,6 +245,23 @@ var d = foo.bar;
|
| ''');
|
| }
|
|
|
| + void test_infer_extractProperty_getter_sequence() {
|
| + var unit = checkFile(r'''
|
| +class A {
|
| + B b = new B();
|
| +}
|
| +class B {
|
| + C c = new C();
|
| +}
|
| +class C {
|
| + int d;
|
| +}
|
| +var a = new A();
|
| +var v = a.b.c.d;
|
| + ''');
|
| + expect(unit.topLevelVariables[1].type.toString(), 'int');
|
| + }
|
| +
|
| void test_infer_extractProperty_method() {
|
| checkFile(r'''
|
| var a = 1.round;
|
|
|