| Index: lib/compiler/implementation/scanner/parser.dart
|
| diff --git a/lib/compiler/implementation/scanner/parser.dart b/lib/compiler/implementation/scanner/parser.dart
|
| index a6e09b7e36b3da88d2e3038602495e60ab6c61cf..98bb484f0920a73208110583fd78a74adb61e472 100644
|
| --- a/lib/compiler/implementation/scanner/parser.dart
|
| +++ b/lib/compiler/implementation/scanner/parser.dart
|
| @@ -206,12 +206,7 @@ class Parser {
|
| return token;
|
| }
|
|
|
| - bool isIdentifier(Token token) {
|
| - final kind = token.kind;
|
| - if (kind === IDENTIFIER_TOKEN) return true;
|
| - if (kind === KEYWORD_TOKEN) return token.value.isPseudo;
|
| - return false;
|
| - }
|
| + bool isIdentifier(Token token) => token.isIdentifier();
|
|
|
| Token parseDefaultClauseOpt(Token token) {
|
| if (isDefaultKeyword(token)) {
|
|
|