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