| Index: pkg/analyzer/test/generated/declaration_resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/declaration_resolver_test.dart b/pkg/analyzer/test/generated/declaration_resolver_test.dart
|
| index 8d6bf511fc570ee1cc35741982e42fa244e12a1b..0f1112d289686cec3456320a16a2663b1fac1e2c 100644
|
| --- a/pkg/analyzer/test/generated/declaration_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/declaration_resolver_test.dart
|
| @@ -314,6 +314,19 @@ main(List<String> items) {
|
| // no other validations than built into DeclarationResolver
|
| }
|
|
|
| + void test_visitMethodDeclaration_unaryMinus() {
|
| + String code = r'''
|
| +class C {
|
| + C operator -() => null;
|
| + C operator -(C other) => null;
|
| +}
|
| +''';
|
| + CompilationUnit unit = resolveSource(code);
|
| + // re-resolve
|
| + _cloneResolveUnit(unit);
|
| + // no other validations than built into DeclarationResolver
|
| + }
|
| +
|
| void test_visitMethodDeclaration_getter_duplicate() {
|
| String code = r'''
|
| class C {
|
|
|