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

Unified Diff: pkg/front_end/test/scanner_roundtrip_test.dart

Issue 2769253002: change "deferred" keyword isPseudo --> isBuiltIn (Closed)
Patch Set: rebase Created 3 years, 9 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/front_end/lib/src/fasta/scanner/token.dart ('k') | pkg/front_end/test/token_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/scanner_roundtrip_test.dart
diff --git a/pkg/front_end/test/scanner_roundtrip_test.dart b/pkg/front_end/test/scanner_roundtrip_test.dart
index 6acb2c30f1db0dac24821d08435fb4d31c0d7837..9594dd7d37df6981930324491270a773b2f9244e 100644
--- a/pkg/front_end/test/scanner_roundtrip_test.dart
+++ b/pkg/front_end/test/scanner_roundtrip_test.dart
@@ -73,32 +73,6 @@ class ScannerTest_RoundTrip extends ScannerTest {
// syntax.
super.test_comment_generic_method_type_list();
}
-
- void test_pseudo_keywords() {
- var pseudoAnalyzerKeywords = new Set<Keyword>.from([
- Keyword.ABSTRACT,
- Keyword.AS,
- Keyword.COVARIANT,
- Keyword.DEFERRED,
- Keyword.DYNAMIC,
- Keyword.EXPORT,
- Keyword.EXTERNAL,
- Keyword.FACTORY,
- Keyword.GET,
- Keyword.IMPLEMENTS,
- Keyword.IMPORT,
- Keyword.LIBRARY,
- Keyword.OPERATOR,
- Keyword.PART,
- Keyword.SET,
- Keyword.STATIC,
- Keyword.TYPEDEF,
- ]);
- for (Keyword keyword in Keyword.values) {
- expect(keyword.isPseudoKeyword, pseudoAnalyzerKeywords.contains(keyword),
- reason: keyword.name);
- }
- }
}
class TestScanner extends analyzer.Scanner {
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/token.dart ('k') | pkg/front_end/test/token_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698