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 da43dd58e4dfc2b3c53bafdab78e8a6a297647ea..ce6cb0fde1eb2b1bf1a2decb6ccb1154852c0b52 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 |
@@ -17,9 +17,10 @@ void bar() { |
var /*@type=dynamic*/ list; |
try { |
list = <String>[]; |
- } catch (/*@promotedType=none*/ _) { |
+ } catch (_) { |
return; |
} |
- /*info:DYNAMIC_INVOKE*/ /*@promotedType=none*/ list |
- .map(/*@returnType=String*/ (/*@type=dynamic*/ value) => '$value'); |
+ /*info:DYNAMIC_INVOKE*/ /*@promotedType=none*/ list.map( |
+ /*@returnType=String*/ (/*@type=dynamic*/ value) => |
+ '${/*@promotedType=none*/value}'); |
} |