| Index: pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| index 72433ff63f3b4eb436feae1364a1bc9a61e02a1c..55e4a50c71798f93b7e32c9643946c365771d980 100644
|
| --- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| @@ -3916,7 +3916,7 @@ main() {
|
| expectedSuccess: false);
|
| }
|
|
|
| - void test_false_constructor_initializer() {
|
| + void test_false_constructor_initializer_damage() {
|
| _resolveUnit(r'''
|
| class Problem {
|
| final Map location;
|
| @@ -3939,6 +3939,32 @@ class Problem {
|
| expectedSuccess: false);
|
| }
|
|
|
| + void test_false_constructor_initializer_remove() {
|
| + _resolveUnit(r'''
|
| +class Problem {
|
| + final String severity;
|
| + final Map location;
|
| + final String message;
|
| +
|
| + Problem(Map json)
|
| + : severity = json["severity"],
|
| + location = json["location"],
|
| + message = json["message"];
|
| +}''');
|
| + _updateAndValidate(
|
| + r'''
|
| +class Problem {
|
| + final String severity;
|
| + final Map location;
|
| + final String message;
|
| +
|
| + Problem(Map json)
|
| + : severity = json["severity"],
|
| + message = json["message"];
|
| +}''',
|
| + expectedSuccess: false);
|
| + }
|
| +
|
| void test_false_endOfLineComment_localFunction_inTopLevelVariable() {
|
| _resolveUnit(r'''
|
| typedef int Binary(one, two, three);
|
|
|