Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(897)

Unified Diff: pkg/analyzer/lib/src/string_source.dart

Issue 156763002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b67a13e3b680191623bffa247c5fbde502494d88..7123bb459026cfc0c7e20b6b4a43e4f06cb041b8 100644
--- a/pkg/analyzer/lib/src/string_source.dart
+++ b/pkg/analyzer/lib/src/string_source.dart
@@ -4,7 +4,6 @@
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.
@@ -27,7 +26,7 @@ class StringSource implements Source {
bool exists() => true;
void getContents(Source_ContentReceiver receiver) =>
- receiver.accept(CharSequence.wrap(_contents), modificationStamp);
+ receiver.accept(_contents, modificationStamp);
String get encoding => throw new UnsupportedError("StringSource doesn't support "
"encoding.");

Powered by Google App Engine
This is Rietveld 408576698