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

Unified Diff: pkg/front_end/testcases/regress/issue_29983.dart.direct.expect

Issue 2955443002: Add regression tests from Luke's bug reports. Part 1. (Closed)
Patch Set: Use [program]. Created 3 years, 6 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_29983.dart.direct.expect
diff --git a/pkg/front_end/testcases/regress/issue_29983.dart.direct.expect b/pkg/front_end/testcases/regress/issue_29983.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..bfb58569018d9dd5840cb7428dd52ddad2960945
--- /dev/null
+++ b/pkg/front_end/testcases/regress/issue_29983.dart.direct.expect
@@ -0,0 +1,9 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29983.dart:6:10: Error: 'sync*' and 'async*' can't return a value.\n return missing;\n ^"]/* from null */;
+static method f() → dynamic sync* {
+ return throw new core::NoSuchMethodError::_withType(null, #missing, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null);
+}
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698