Index: pkg/front_end/testcases/regress/issue_29942.dart.strong.expect |
diff --git a/pkg/front_end/testcases/regress/issue_29942.dart.strong.expect b/pkg/front_end/testcases/regress/issue_29942.dart.strong.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e9ea8fa42d32e459ee2e3a353585e9bb1316db3 |
--- /dev/null |
+++ b/pkg/front_end/testcases/regress/issue_29942.dart.strong.expect |
@@ -0,0 +1,7 @@ |
+library; |
+import self as self; |
+ |
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29942.dart:8:5: Error: Expected a function body or '=>'.\nTry adding {}.\nf() =\n ^", "pkg/front_end/testcases/regress/issue_29942.dart:8:5: Error: Expected a function body or '=>'.\nf() =\n ^", "pkg/front_end/testcases/regress/issue_29942.dart:10:1: Error: A function expression can't have a name.\nh() => null;\n^"]/* from null */; |
+static method main() → dynamic {} |
+static method f() → dynamic |
+ return let final () → dynamic h = () → dynamic => null in h; |