Index: lib/compiler/implementation/scanner/parser.dart |
diff --git a/lib/compiler/implementation/scanner/parser.dart b/lib/compiler/implementation/scanner/parser.dart |
index 47d8c61b5aa04f31a32f8ed8250fc7587eb046c8..14ad03b2e9f843dda011a5bb1486cf1f09784c4e 100644 |
--- a/lib/compiler/implementation/scanner/parser.dart |
+++ b/lib/compiler/implementation/scanner/parser.dart |
@@ -573,13 +573,13 @@ class Parser { |
listener.beginTopLevelMember(token); |
Link<Token> identifiers = findMemberName(token); |
- if (identifiers.isEmpty()) { |
+ if (identifiers.isEmpty) { |
return listener.unexpected(start); |
} |
Token name = identifiers.head; |
identifiers = identifiers.tail; |
Token getOrSet; |
- if (!identifiers.isEmpty()) { |
+ if (!identifiers.isEmpty) { |
String value = identifiers.head.stringValue; |
if ((identical(value, 'get')) || (identical(value, 'set'))) { |
getOrSet = identifiers.head; |
@@ -587,7 +587,7 @@ class Parser { |
} |
} |
Token type; |
- if (!identifiers.isEmpty()) { |
+ if (!identifiers.isEmpty) { |
if (isValidTypeReference(identifiers.head)) { |
type = identifiers.head; |
identifiers = identifiers.tail; |
@@ -771,7 +771,7 @@ class Parser { |
void parseModifierList(Link<Token> tokens) { |
int count = 0; |
- for (; !tokens.isEmpty(); tokens = tokens.tail) { |
+ for (; !tokens.isEmpty; tokens = tokens.tail) { |
Token token = tokens.head; |
if (isModifier(token)) { |
parseModifier(token); |
@@ -867,26 +867,26 @@ class Parser { |
listener.beginMember(token); |
Link<Token> identifiers = findMemberName(token); |
- if (identifiers.isEmpty()) { |
+ if (identifiers.isEmpty) { |
return listener.unexpected(start); |
} |
Token name = identifiers.head; |
identifiers = identifiers.tail; |
- if (!identifiers.isEmpty()) { |
+ if (!identifiers.isEmpty) { |
if (optional('operator', identifiers.head)) { |
name = identifiers.head; |
identifiers = identifiers.tail; |
} |
} |
Token getOrSet; |
- if (!identifiers.isEmpty()) { |
+ if (!identifiers.isEmpty) { |
if (isGetOrSet(identifiers.head)) { |
getOrSet = identifiers.head; |
identifiers = identifiers.tail; |
} |
} |
Token type; |
- if (!identifiers.isEmpty()) { |
+ if (!identifiers.isEmpty) { |
if (isValidTypeReference(identifiers.head)) { |
type = identifiers.head; |
identifiers = identifiers.tail; |