Index: pkg/front_end/testcases/inference/lambda_return_type.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/lambda_return_type.dart.direct.expect b/pkg/front_end/testcases/inference/lambda_return_type.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..84db6c029610a7a2e10b02d840d00d4237028ce8 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/lambda_return_type.dart.direct.expect |
@@ -0,0 +1,16 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method main() → dynamic { |
+ core::int i = 1; |
+ core::Object o = 1; |
+ () → core::num a = () → core::int => i; |
+ () → core::num b = () → core::Object => o; |
+ () → core::num c = () → dynamic { |
+ return i; |
+ }; |
+ () → core::num d = () → dynamic { |
+ return o; |
+ }; |
+} |