| Index: pkg/analyzer/lib/src/generated/source_io.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/source_io.dart b/pkg/analyzer/lib/src/generated/source_io.dart
|
| index ee6e3fb03fae1aaa05d52f923390bda5bd411bf5..ed1ae3b441f4db66c0269ba7027e117919889f49 100644
|
| --- a/pkg/analyzer/lib/src/generated/source_io.dart
|
| +++ b/pkg/analyzer/lib/src/generated/source_io.dart
|
| @@ -116,7 +116,7 @@ class FileBasedSource implements Source {
|
| //
|
| String contents = _contentCache.getContents(this);
|
| if (contents != null) {
|
| - receiver.accept(new CharSequence(contents), _contentCache.getModificationStamp(this));
|
| + receiver.accept(contents, _contentCache.getModificationStamp(this));
|
| return;
|
| }
|
| //
|
| @@ -179,7 +179,7 @@ class FileBasedSource implements Source {
|
| void getContentsFromFile(Source_ContentReceiver receiver) {
|
| {
|
| }
|
| - receiver.accept(file.readAsCharSequenceSync(), file.lastModified());
|
| + receiver.accept(file.readAsStringSync(), file.lastModified());
|
| }
|
|
|
| /**
|
|
|