| Index: pkg/analyzer/lib/src/string_source.dart
|
| diff --git a/pkg/analyzer/lib/src/string_source.dart b/pkg/analyzer/lib/src/string_source.dart
|
| index ab218095a4a0d99ec423b099cbd0bc2e4afdf71d..b67a13e3b680191623bffa247c5fbde502494d88 100644
|
| --- a/pkg/analyzer/lib/src/string_source.dart
|
| +++ b/pkg/analyzer/lib/src/string_source.dart
|
| @@ -4,6 +4,7 @@
|
|
|
| library analyzer.string_source;
|
|
|
| +import 'generated/java_core.dart';
|
| import 'generated/source.dart';
|
|
|
| /// An implementation of [Source] that's based on an in-memory Dart string.
|
| @@ -26,7 +27,7 @@ class StringSource implements Source {
|
| bool exists() => true;
|
|
|
| void getContents(Source_ContentReceiver receiver) =>
|
| - receiver.accept2(_contents, modificationStamp);
|
| + receiver.accept(CharSequence.wrap(_contents), modificationStamp);
|
|
|
| String get encoding => throw new UnsupportedError("StringSource doesn't support "
|
| "encoding.");
|
|
|