| Index: dart/lib/compiler/implementation/tree/dartstring.dart
|
| diff --git a/dart/lib/compiler/implementation/tree/dartstring.dart b/dart/lib/compiler/implementation/tree/dartstring.dart
|
| index e46a03af67be8f698e67962c378fdbb8ebda5e8b..d427bb6499537acff1e1abcea9867943dc142f19 100644
|
| --- a/dart/lib/compiler/implementation/tree/dartstring.dart
|
| +++ b/dart/lib/compiler/implementation/tree/dartstring.dart
|
| @@ -51,10 +51,10 @@ class DartString implements Iterable<int> {
|
| class LiteralDartString extends DartString {
|
| final String string;
|
| const LiteralDartString(this.string);
|
| - int get length() => string.length;
|
| + int get length => string.length;
|
| Iterator<int> iterator() => new StringCodeIterator(string);
|
| String slowToString() => string;
|
| - SourceString get source() => new StringWrapper(string);
|
| + SourceString get source => new StringWrapper(string);
|
| }
|
|
|
| /**
|
| @@ -124,7 +124,7 @@ class ConsDartString extends DartString {
|
| toStringCache = left.slowToString().concat(right.slowToString());
|
| return toStringCache;
|
| }
|
| - SourceString get source() => new StringWrapper(slowToString());
|
| + SourceString get source => new StringWrapper(slowToString());
|
| }
|
|
|
| class ConsDartStringIterator implements Iterator<int> {
|
|
|