Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: pkg/front_end/testcases/regress/issue_29937.dart.strong.expect

Issue 2993883002: Implement type inference for named function expressions. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/regress/issue_29937.dart.strong.expect
diff --git a/pkg/front_end/testcases/regress/issue_29937.dart.strong.expect b/pkg/front_end/testcases/regress/issue_29937.dart.strong.expect
index cb189717f23c01ea400d8557237733b1b35edcff..3e58cd1d1d2a3dfc8a5ade5153857adb4424108f 100644
--- a/pkg/front_end/testcases/regress/issue_29937.dart.strong.expect
+++ b/pkg/front_end/testcases/regress/issue_29937.dart.strong.expect
@@ -1,7 +1,8 @@
library;
import self as self;
+import "dart:core" as core;
const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29937.dart:6:4: Error: A function expression can't have a name.\n [f() {}];\n ^"]/* from null */;
static method main() → dynamic {
- <dynamic>[let final dynamic f = () → dynamic {} in f];
+ <() → core::Null>[let final () → core::Null f = () → core::Null {} in f];
}

Powered by Google App Engine
This is Rietveld 408576698