| Index: lib/compiler/implementation/tree/dartstring.dart
|
| diff --git a/lib/compiler/implementation/tree/dartstring.dart b/lib/compiler/implementation/tree/dartstring.dart
|
| index 468046c714b3a3edd053feef43d327e7994323aa..9470ded345752294ef8b75edb0cad56f38b269f3 100644
|
| --- a/lib/compiler/implementation/tree/dartstring.dart
|
| +++ b/lib/compiler/implementation/tree/dartstring.dart
|
| @@ -19,13 +19,13 @@ abstract class DartString implements Iterable<int> {
|
| factory DartString.escapedString(SourceString source, int length) =>
|
| new EscapedSourceDartString(source, length);
|
| factory DartString.concat(DartString first, DartString second) {
|
| - if (first.isEmpty()) return second;
|
| - if (second.isEmpty()) return first;
|
| + if (first.isEmpty) return second;
|
| + if (second.isEmpty) return first;
|
| return new ConsDartString(first, second);
|
| }
|
| const DartString();
|
| abstract int get length;
|
| - bool isEmpty() => length == 0;
|
| + bool get isEmpty => length == 0;
|
| abstract Iterator<int> iterator();
|
| abstract String slowToString();
|
|
|
|
|