Index: pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart.direct.expect b/pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c8697a06d74f4bb992f9600c275c134d2382345 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart.direct.expect |
@@ -0,0 +1,13 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method strings() → core::List<core::String> { |
+ dynamic stuff = <dynamic>[].expand((dynamic i) → dynamic { |
+ return <core::String>[]; |
+ }); |
+ return stuff.toList(); |
+} |
+static method main() → dynamic { |
+ self::strings(); |
+} |