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

Unified Diff: pkg/compiler/lib/src/tokens/keyword.dart

Issue 2626843003: Implement 'covariant' modifier for dart2js. (Closed)
Patch Set: Update status file for dartk. Created 3 years, 11 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/parser/parser.dart ('k') | tests/language/covariant_override_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/tokens/keyword.dart
diff --git a/pkg/compiler/lib/src/tokens/keyword.dart b/pkg/compiler/lib/src/tokens/keyword.dart
index 4d914bccfb50ebf7844e8d87043ff90420b3587a..607c4e83ac931dfdbac4c644215e93b24f4605f8 100644
--- a/pkg/compiler/lib/src/tokens/keyword.dart
+++ b/pkg/compiler/lib/src/tokens/keyword.dart
@@ -53,6 +53,7 @@ class Keyword {
const Keyword("abstract", isBuiltIn: true),
const Keyword("as", info: Precedence.AS_INFO, isBuiltIn: true),
+ const Keyword("covariant", isBuiltIn: true),
const Keyword("dynamic", isBuiltIn: true),
const Keyword("export", isBuiltIn: true),
const Keyword("external", isBuiltIn: true),
@@ -77,7 +78,7 @@ class Keyword {
const Keyword("async", isPseudo: true),
const Keyword("sync", isPseudo: true),
const Keyword("await", isPseudo: true),
- const Keyword("yield", isPseudo: true)
+ const Keyword("yield", isPseudo: true),
];
final String syntax;
« no previous file with comments | « pkg/compiler/lib/src/parser/parser.dart ('k') | tests/language/covariant_override_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698