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 8d61f60df5f8b1340b91be23e4871da2a0a96183..157c5012b56dc023f715ee5e57ed29db3d4f7a4d 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++]; |
} |