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