Index: pkg/front_end/testcases/regress/issue_29978.dart.direct.expect |
diff --git a/pkg/front_end/testcases/regress/issue_29978.dart.direct.expect b/pkg/front_end/testcases/regress/issue_29978.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6289276b0d0a2f841d5e5ca723453dbce147b0f0 |
--- /dev/null |
+++ b/pkg/front_end/testcases/regress/issue_29978.dart.direct.expect |
@@ -0,0 +1,9 @@ |
+library; |
+import self as self; |
+ |
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29978.dart:8:13: Error: A function expression can't have a name.\n foo(null, f() {});\n ^"]/* from null */; |
+static method foo(dynamic a, dynamic b) → dynamic |
+ return null; |
+static method main() → dynamic { |
+ self::foo(null, let final dynamic f = () → dynamic {} in f); |
+} |