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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/token.dart

Issue 2795243002: fix fasta/analyzer KeywordToken.value() (Closed)
Patch Set: remove unused import Created 3 years, 8 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/analyzer/lib/src/dart/scanner/scanner.dart ('k') | pkg/front_end/lib/src/scanner/token.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/scanner/token.dart
diff --git a/pkg/front_end/lib/src/fasta/scanner/token.dart b/pkg/front_end/lib/src/fasta/scanner/token.dart
index 33bb4586a65e8856dbf65d725e936570db5d6590..cb5e1d67745466e31a4340fd38f340253fe1e6f7 100644
--- a/pkg/front_end/lib/src/fasta/scanner/token.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/token.dart
@@ -359,7 +359,7 @@ class KeywordToken extends Token implements analyzer.KeywordTokenWithComment {
@override
// Analyzer considers pseudo-keywords to have a different value
- Keyword value() => isPseudo ? lexeme : keyword;
+ Object value() => isPseudo ? lexeme : keyword;
@override
// Analyzer considers pseudo-keywords to be identifiers
« no previous file with comments | « pkg/analyzer/lib/src/dart/scanner/scanner.dart ('k') | pkg/front_end/lib/src/scanner/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698