| Index: pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
|
| diff --git a/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart b/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
|
| index 87e93516151d0b7a0c3434bc6af62ff9f0e6d5bf..1cd7e362f2254f217c548e1acef5fb1814e83d28 100644
|
| --- a/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
|
| +++ b/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
|
| @@ -9,7 +9,7 @@ List<String> getListOfString() => const <String>[];
|
|
|
| void foo() {
|
| List myList = getListOfString();
|
| - /*@promotedType=none*/ myList. /*@typeArgs=int*/ /*@target=List::map*/ map(
|
| + myList. /*@typeArgs=int*/ /*@target=List::map*/ map(
|
| /*@returnType=int*/ (/*@type=dynamic*/ type) => 42);
|
| }
|
|
|
| @@ -20,7 +20,6 @@ void bar() {
|
| } catch (_) {
|
| return;
|
| }
|
| - /*info:DYNAMIC_INVOKE*/ /*@promotedType=none*/ list.map(
|
| - /*@returnType=String*/ (/*@type=dynamic*/ value) =>
|
| - '${/*@promotedType=none*/value}');
|
| + /*info:DYNAMIC_INVOKE*/ list.map(
|
| + /*@returnType=String*/ (/*@type=dynamic*/ value) => '${value}');
|
| }
|
|
|