Index: lib/compiler/implementation/scanner/byte_strings.dart |
diff --git a/lib/compiler/implementation/scanner/byte_strings.dart b/lib/compiler/implementation/scanner/byte_strings.dart |
index 9f3c454bec980c3615a36d86fdcbb17a6da8e70b..b11e1edf7c74745841bc03344958e4e5e6d36772 100644 |
--- a/lib/compiler/implementation/scanner/byte_strings.dart |
+++ b/lib/compiler/implementation/scanner/byte_strings.dart |
@@ -89,7 +89,7 @@ class AsciiStringIterator implements Iterator<int> { |
: this.bytes = bytes, offset = 0, end = bytes.length; |
AsciiStringIterator.range(List<int> bytes, int from, int length) |
: this.bytes = bytes, offset = from, end = from + length; |
- bool hasNext() => offset < end; |
+ bool get hasNext => offset < end; |
int next() => bytes[offset++]; |
} |