| Index: pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/static_type_warning_code_test.dart b/pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| index b86c0ef11066fb5a3d718f3ed9483062425a75bd..14e3c4af9cf395f353e0c77a43e3891a24420692 100644
|
| --- a/pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| @@ -2205,6 +2205,24 @@ class B extends A {
|
| ]);
|
| }
|
|
|
| + void test_unqualifiedReferenceToNonLocalStaticMember_getter_invokeTarget() {
|
| + assertErrorsInCode(
|
| + r'''
|
| +class A {
|
| + static int foo;
|
| +}
|
| +
|
| +class B extends A {
|
| + static bar() {
|
| + foo.abs();
|
| + }
|
| +}
|
| +''',
|
| + [
|
| + StaticTypeWarningCode.UNQUALIFIED_REFERENCE_TO_NON_LOCAL_STATIC_MEMBER
|
| + ]);
|
| + }
|
| +
|
| void test_unqualifiedReferenceToNonLocalStaticMember_method() {
|
| assertErrorsInCode(
|
| r'''
|
|
|