Index: pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_dynamic_param.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_dynamic_param.dart.direct.expect b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_dynamic_param.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..987511dfee6445a967c03e88d1df6b32f595665a |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_dynamic_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<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()]; |
+static method main() → dynamic { |
+ self::v; |
+} |