| 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 dfccd05bdeadb115836c15015390e381693a7dc3..d6e9119003c48390ca87d3a00bfafdbc74dbf3a0 100644
|
| --- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| @@ -2582,6 +2582,23 @@ main() {
|
| ''');
|
| }
|
|
|
| + void test_endOfLineComment_localFunction_inTopLevelVariable() {
|
| + _resolveUnit(r'''
|
| +typedef int Binary(one, two, three);
|
| +
|
| +int Global = f((a, b, c) {
|
| + return 0; // Some comment
|
| +});
|
| +''');
|
| + _updateAndValidate(r'''
|
| +typedef int Binary(one, two, three);
|
| +
|
| +int Global = f((a, b, c) {
|
| + return 0; // Some comment
|
| +});
|
| +''');
|
| + }
|
| +
|
| void test_endOfLineComment_remove() {
|
| _resolveUnit(r'''
|
| main() {
|
|
|