| Index: pkg/analyzer/test/src/task/strong/inferred_type_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
|
| index 16b2803bc9cc746eb44ac4c2590624d3d25becd3..ad5a7b144b1ee177a3e3402a8434085a9b179046 100644
|
| --- a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
|
| +++ b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
|
| @@ -2923,6 +2923,20 @@ void main() {
|
| ''');
|
| }
|
|
|
| + void test_referenceToFieldOfStaticField() {
|
| + var mainUnit = checkFile('''
|
| +class C {
|
| + static D d;
|
| +}
|
| +class D {
|
| + int i;
|
| +}
|
| +final x = C.d.i;
|
| +''');
|
| + var x = mainUnit.topLevelVariables[0];
|
| + expect(x.type.toString(), 'int');
|
| + }
|
| +
|
| void test_staticRefersToNonStaticField_inOtherLibraryCycle() {
|
| addFile(
|
| '''
|
|
|