Index: pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_implicit_type_param.dart.strong.expect |
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_implicit_type_param.dart.strong.expect b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_implicit_type_param.dart.strong.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..27f92d879274e23afb69b90f6be98ddcd53357f9 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_implicit_type_param.dart.strong.expect |
@@ -0,0 +1,11 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method main() → dynamic { |
+ core::List<core::int> v = self::f<core::int>(() → core::int { |
+ return 1; |
+ }); |
+} |
+static method f<T extends core::Object>(() → self::f::T g) → core::List<self::f::T> |
+ return <self::f::T>[g.call()]; |