Index: sdk/lib/_internal/compiler/implementation/scanner/scanner.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/scanner.dart b/sdk/lib/_internal/compiler/implementation/scanner/scanner.dart |
index 0d00bd09d5503696a30ca188e9573676928e05ed..8659eadef771a064a9d722556c46d2f6b8b5a5ba 100644 |
--- a/sdk/lib/_internal/compiler/implementation/scanner/scanner.dart |
+++ b/sdk/lib/_internal/compiler/implementation/scanner/scanner.dart |
@@ -428,7 +428,7 @@ abstract class AbstractScanner implements Scanner { |
if (identical(next, $CLOSE_SQUARE_BRACKET)) { |
Token token = previousToken(); |
if (token is KeywordToken && |
- identical((token as KeywordToken).keyword.syntax, 'operator')) { |
+ identical(token.keyword.syntax, 'operator')) { |
return select($EQ, INDEX_EQ_INFO, INDEX_INFO); |
} |
} |