Index: pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart.direct.expect b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..42b6a16403a0b0ec2ba26d7b2bd0541e82454c0c |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart.direct.expect |
@@ -0,0 +1,17 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class C extends core::Object { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method f(dynamic x) → core::double |
+ return 1.0; |
+} |
+static field dynamic v = new self::C::•().f(() → dynamic { |
+ return 1; |
+}); |
+static method main() → dynamic { |
+ self::v; |
+} |