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

Unified Diff: pkg/compiler/lib/src/warnings.dart

Issue 864643006: Allow sync *, async * and yield * in dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
« no previous file with comments | « pkg/compiler/lib/src/scanner/parser.dart ('k') | tests/compiler/dart2js/async_await_syntax_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/warnings.dart
diff --git a/pkg/compiler/lib/src/warnings.dart b/pkg/compiler/lib/src/warnings.dart
index e21429c46346cbccfba867f8106dff3440493b2a..89e69e9f2ed28fc399e1090e10995287ac88d38b 100644
--- a/pkg/compiler/lib/src/warnings.dart
+++ b/pkg/compiler/lib/src/warnings.dart
@@ -2078,16 +2078,6 @@ Please include the following information:
static const MessageKind EXPERIMENTAL_ASYNC_AWAIT = const MessageKind(
"Experimental language feature 'async/await' is not supported.");
- static const MessageKind INVALID_STARRED_KEYWORD = const MessageKind(
- "Invalid '#{keyword}' keyword.",
- options: const ['--enable-async'],
- howToFix: "Try removing whitespace between '#{keyword}' and '*'.",
- examples: const [
- "main() async * {}",
- "main() sync * {}",
- "main() async* { yield * null; }"
- ]);
-
static const MessageKind INVALID_SYNC_MODIFIER = const MessageKind(
"Invalid modifier 'sync'.",
options: const ['--enable-async'],
« no previous file with comments | « pkg/compiler/lib/src/scanner/parser.dart ('k') | tests/compiler/dart2js/async_await_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698