| Index: pkg/analyzer/test/generated/hint_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/hint_code_test.dart b/pkg/analyzer/test/generated/hint_code_test.dart
|
| index 5dcab24718d58a3f016ae760c7457d675e117f0b..310707ef866413f5c779044c3f96013073f15a82 100644
|
| --- a/pkg/analyzer/test/generated/hint_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/hint_code_test.dart
|
| @@ -1279,6 +1279,23 @@ class B extends A {
|
| verify([source]);
|
| }
|
|
|
| + void test_invalidUseOfProtectedMember_OK_setter_2() {
|
| + Source source = addSource(r'''
|
| +import 'package:meta/meta.dart';
|
| +class A {
|
| + int _a;
|
| + @protected
|
| + void set a(int a) { _a = a; }
|
| + A(int a) {
|
| + this.a = a;
|
| + }
|
| +}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_invalidUseOfProtectedMember_setter() {
|
| Source source = addSource(r'''
|
| import 'package:meta/meta.dart';
|
|
|