| Index: pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| index dce0b95f0f287498bb94389124052c9b344d4936..a9c5f34031221fe46225089b48757b5876eba32c 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| @@ -7048,10 +7048,16 @@ Stream<dynamic> f() async* {}
|
| f() {}''');
|
| if (isStrongMode) {
|
| checkElementText(library, r'''
|
| +/**
|
| + * Docs
|
| + */
|
| dynamic f() {}
|
| ''');
|
| } else {
|
| checkElementText(library, r'''
|
| +/**
|
| + * Docs
|
| + */
|
| dynamic f() {}
|
| ''');
|
| }
|
| @@ -7059,15 +7065,9 @@ dynamic f() {}
|
|
|
| test_function_entry_point() async {
|
| var library = await checkLibrary('main() {}');
|
| - if (isStrongMode) {
|
| - checkElementText(library, r'''
|
| -dynamic main() {}
|
| -''');
|
| - } else {
|
| - checkElementText(library, r'''
|
| + checkElementText(library, r'''
|
| dynamic main() {}
|
| ''');
|
| - }
|
| }
|
|
|
| test_function_entry_point_in_export() async {
|
|
|