| Index: pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/local_computer_test.dart b/pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| index d6f49b34d8f7e168fa1d4af7a914c3a25bc9b353..47399376743c25f4f87803cdcb05259c7b5df3a3 100644
|
| --- a/pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| @@ -733,4 +733,10 @@ class B extends A {
|
| expect(suggestion.requiredParameterCount, 2);
|
| expect(suggestion.hasNamedParameters, false);
|
| }
|
| +
|
| + test_shadowed_name() {
|
| + addTestSource('var a; class A { var a; m() { ^ } }');
|
| + expect(computeFast(), isTrue);
|
| + assertSuggestLocalField('a', null);
|
| + }
|
| }
|
|
|