| Index: pkg/analysis_server/test/services/correction/fix_test.dart
|
| diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| index 02375e68aef1a07800b33c00a4d8e79763256e1f..bf4e5a24e2b101ce17a83dedff2b21aae9f8bc4c 100644
|
| --- a/pkg/analysis_server/test/services/correction/fix_test.dart
|
| +++ b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| @@ -442,6 +442,30 @@ main(A a) {
|
| ''');
|
| }
|
|
|
| + void test_createField_getter_qualified_instance_dynamicType() {
|
| + _indexTestUnit('''
|
| +class A {
|
| + B b;
|
| + void f(Object p) {
|
| + p == b.test;
|
| + }
|
| +}
|
| +class B {
|
| +}
|
| +''');
|
| + assertHasFix(FixKind.CREATE_FIELD, '''
|
| +class A {
|
| + B b;
|
| + void f(Object p) {
|
| + p == b.test;
|
| + }
|
| +}
|
| +class B {
|
| + var test;
|
| +}
|
| +''');
|
| + }
|
| +
|
| void test_createField_getter_unqualified_instance_asInvocationArgument() {
|
| _indexTestUnit('''
|
| class A {
|
|
|