| 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 48293c1cceee3f49ee532298f2e75dcd6e2dcdd6..24597cd590e621bbd1e98c17f9ab68640eded78c 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| @@ -3629,6 +3629,24 @@ var v = [f, g];
|
| checkLibrary('var v = () => 0;');
|
| }
|
|
|
| + test_initializer_executable_with_return_type_from_closure_await_dynamic() {
|
| + checkLibrary('var v = (f) async => await f;');
|
| + }
|
| +
|
| + test_initializer_executable_with_return_type_from_closure_await_future_int() {
|
| + checkLibrary(r'''
|
| +import 'dart:async';
|
| +var v = (Future<int> f) async => await f;
|
| +''');
|
| + }
|
| +
|
| + test_initializer_executable_with_return_type_from_closure_await_future_noArg() {
|
| + checkLibrary(r'''
|
| +import 'dart:async';
|
| +var v = (Future f) async => await f;
|
| +''');
|
| + }
|
| +
|
| test_initializer_executable_with_return_type_from_closure_field() {
|
| checkLibrary('''
|
| class C {
|
|
|