| Index: pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/compile_time_error_code_test.dart b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| index 6577d9fdb00ef55b4f9dd3f900e2c2ecd03a2d38..b398334f2c3737d248df509d998799c58e0de01f 100644
|
| --- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| @@ -713,6 +713,18 @@ class A {
|
| verify([source]);
|
| }
|
|
|
| + test_conflictingConstructorNameAndMember_getter() async {
|
| + Source source = addSource(r'''
|
| +class A {
|
| + int get x => 42;
|
| + A.x() {}
|
| +}''');
|
| + await computeAnalysisResult(source);
|
| + assertErrors(
|
| + source, [CompileTimeErrorCode.CONFLICTING_CONSTRUCTOR_NAME_AND_FIELD]);
|
| + verify([source]);
|
| + }
|
| +
|
| test_conflictingConstructorNameAndMember_method() async {
|
| Source source = addSource(r'''
|
| class A {
|
|
|