Index: sdk/lib/_internal/compiler/implementation/scanner/string_scanner.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/string_scanner.dart b/sdk/lib/_internal/compiler/implementation/scanner/string_scanner.dart |
index 958db2f9fbf7b3a645915da8212a7a9933b0a6d9..0fa3489eee3fa3be62a8cf9eb39dd04cf9494ac4 100644 |
--- a/sdk/lib/_internal/compiler/implementation/scanner/string_scanner.dart |
+++ b/sdk/lib/_internal/compiler/implementation/scanner/string_scanner.dart |
@@ -53,7 +53,7 @@ class StringScanner extends ArrayBasedScanner<SourceString> { |
} |
} |
-class SubstringWrapper implements SourceString { |
+class SubstringWrapper extends Iterable<int> implements SourceString { |
final String internalString; |
final int begin; |
final int end; |
@@ -89,7 +89,7 @@ class SubstringWrapper implements SourceString { |
String get stringValue => null; |
- Iterator<int> iterator() => |
+ Iterator<int> get iterator => |
new StringCodeIterator.substring(internalString, begin, end); |
SourceString copyWithoutQuotes(int initial, int terminal) { |