Index: pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_type_param.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_type_param.dart.direct.expect b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_type_param.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..60f65015e06fc363f0405d055ab4849273f215a8 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_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(() → dynamic { |
+ return 1; |
+ }); |
+} |