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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/token.dart

Issue 14022007: Move Iterable implementation to collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Merge to head. Created 7 years, 8 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: sdk/lib/_internal/compiler/implementation/scanner/token.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/token.dart b/sdk/lib/_internal/compiler/implementation/scanner/token.dart
index fcf4e871b23b307dc6ae772aeca439e9e6a37bd7..23b4f7832379d3d728e67d2c41070872890bec0e 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/token.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/token.dart
@@ -185,7 +185,7 @@ class StringToken extends Token {
String slowToString() => value.slowToString();
}
-abstract class SourceString extends Iterable<int> {
+abstract class SourceString extends IterableBase<int> {
const factory SourceString(String string) = StringWrapper;
void printOn(StringBuffer sb);
@@ -205,7 +205,7 @@ abstract class SourceString extends Iterable<int> {
bool isPrivate();
}
-class StringWrapper extends Iterable<int> implements SourceString {
+class StringWrapper extends IterableBase<int> implements SourceString {
final String stringValue;
const StringWrapper(String this.stringValue);

Powered by Google App Engine
This is Rietveld 408576698