Index: pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_type_param.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_type_param.dart.direct.expect b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_type_param.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4965d222c6777dd7b33fc5955ca1cfe9f1efd838 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_type_param.dart.direct.expect |
@@ -0,0 +1,12 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static field dynamic v = self::f<core::int>(() → 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()]; |
+static method main() → dynamic { |
+ self::v; |
+} |