Index: lib/compiler/implementation/scanner/string_scanner.dart |
diff --git a/lib/compiler/implementation/scanner/string_scanner.dart b/lib/compiler/implementation/scanner/string_scanner.dart |
index 73744d827bdfbd9092d0e387ceef78049881d2d4..8aaf04d01ec3544d8b06b62def90af09f47fcd0f 100644 |
--- a/lib/compiler/implementation/scanner/string_scanner.dart |
+++ b/lib/compiler/implementation/scanner/string_scanner.dart |
@@ -69,7 +69,7 @@ class SubstringWrapper implements SourceString { |
begin + initial, end - terminal); |
} |
- bool isEmpty() => begin == end; |
+ bool get isEmpty => begin == end; |
- bool isPrivate() => !isEmpty() && identical(internalString.charCodeAt(begin), $_); |
+ bool isPrivate() => !isEmpty && identical(internalString.charCodeAt(begin), $_); |
} |