| Index: lib/compiler/implementation/scanner/token.dart
|
| diff --git a/lib/compiler/implementation/scanner/token.dart b/lib/compiler/implementation/scanner/token.dart
|
| index b34da91203a7e7133ae33c724b7d89eac8fcb42d..1555cff9bccee653bed532f71469a27813dd19f0 100644
|
| --- a/lib/compiler/implementation/scanner/token.dart
|
| +++ b/lib/compiler/implementation/scanner/token.dart
|
| @@ -190,7 +190,7 @@ interface SourceString extends Iterable<int> default StringWrapper {
|
|
|
| String slowToString();
|
|
|
| - bool isEmpty();
|
| + bool get isEmpty;
|
|
|
| bool isPrivate();
|
| }
|
| @@ -224,9 +224,9 @@ class StringWrapper implements SourceString {
|
| stringValue.substring(initial, stringValue.length - terminal));
|
| }
|
|
|
| - bool isEmpty() => stringValue.isEmpty();
|
| + bool get isEmpty => stringValue.isEmpty;
|
|
|
| - bool isPrivate() => !isEmpty() && identical(stringValue.charCodeAt(0), $_);
|
| + bool isPrivate() => !isEmpty && identical(stringValue.charCodeAt(0), $_);
|
| }
|
|
|
| class StringCodeIterator implements Iterator<int> {
|
|
|